1
0
Fork 0

add console log and debugging line to debug

Dieser Commit ist enthalten in:
merefield 2023-09-08 11:02:23 +01:00
Ursprung ebc0f706e3
Commit 00f5097da1

Datei anzeigen

@ -22,7 +22,8 @@ export default {
withPluginApi("0.8.36", (api) => { withPluginApi("0.8.36", (api) => {
api.onAppEvent("page:changed", (data) => { api.onAppEvent("page:changed", (data) => {
const currentUser = api.getCurrentUser(); const currentUser = api.getCurrentUser();
console.log(data);
debugger;
if (currentUser) { if (currentUser) {
const redirectToWizard = currentUser.redirect_to_wizard; const redirectToWizard = currentUser.redirect_to_wizard;
const excludedPaths = siteSettings.wizard_redirect_exclude_paths const excludedPaths = siteSettings.wizard_redirect_exclude_paths