1
0
Fork 0

Commits vergleichen

...

2 Commits

Autor SHA1 Nachricht Datum
merefield
dd9c5a225d more debugging 2023-09-08 13:54:14 +01:00
merefield
00f5097da1 add console log and debugging line to debug 2023-09-08 11:02:23 +01:00

Datei anzeigen

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