mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
fix(editor): UX Improvements to RBAC feature set (#9683)
This commit is contained in:
@@ -674,10 +674,10 @@ export default defineComponent({
|
||||
methods: {
|
||||
closeDialog() {
|
||||
this.modalBus.emit('close');
|
||||
// In case the redirect to canvas for new users didn't happen
|
||||
// In case the redirect to homepage for new users didn't happen
|
||||
// we try again after closing the modal
|
||||
if (this.$route.name !== VIEWS.NEW_WORKFLOW) {
|
||||
void this.$router.replace({ name: VIEWS.NEW_WORKFLOW });
|
||||
if (this.$route.name !== VIEWS.HOMEPAGE) {
|
||||
void this.$router.replace({ name: VIEWS.HOMEPAGE });
|
||||
}
|
||||
},
|
||||
async loadDomainBlocklist() {
|
||||
|
||||
Reference in New Issue
Block a user