fix(editor): UX Improvements to RBAC feature set (#9683)

This commit is contained in:
Csaba Tuncsik
2024-07-18 14:17:27 +02:00
committed by GitHub
parent 5b440a7679
commit 028a8a2c75
32 changed files with 337 additions and 112 deletions

View File

@@ -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() {