1
0
Fork 0
Dieser Commit ist enthalten in:
merefield 2023-07-11 08:48:20 +01:00
Ursprung ccb7095b00
Commit 0cec743253

Datei anzeigen

@ -24,6 +24,7 @@ export default {
api.onAppEvent("page:changed", (data) => {
const currentUser = container.lookup("service:current-user");
const settings = container.lookup("service:site-settings");
if (currentUser) {
const redirectToWizard = currentUser.redirect_to_wizard;
const excludedPaths = settings.wizard_redirect_exclude_paths
.split("|")
@ -37,6 +38,7 @@ export default {
) {
window.location = "/w/" + redirectToWizard.dasherize();
}
}
});
api.modifyClass("component:d-navigation", {