fix: Small changes to user activation modal (no-changelog) (#5962)

This commit is contained in:
Ricardo Espinoza
2023-04-18 07:28:50 -04:00
committed by GitHub
parent c171365d2a
commit 0c10fbc83f
3 changed files with 10 additions and 9 deletions

View File

@@ -49,9 +49,7 @@ router.afterEach((to, from) => {
runExternalHook('main.routeChange', useWebhooksStore(), { from, to });
const userStore = useUsersStore();
if (userStore.currentUser && to.name && to.name !== VIEWS.SIGNOUT && !to.name.includes('Modal')) {
setTimeout(() => {
userStore.showUserActivationSurveyModal();
}, 500);
userStore.showUserActivationSurveyModal();
}
});