diff --git a/packages/nc-gui/layouts/default.vue b/packages/nc-gui/layouts/default.vue index 47bde58f36..a65a4a7f3e 100644 --- a/packages/nc-gui/layouts/default.vue +++ b/packages/nc-gui/layouts/default.vue @@ -67,7 +67,7 @@ -
+
@@ -1296,28 +1296,8 @@ export default { }, changeTheme() { this.$store.dispatch('windows/ActToggleDarkMode', !this.$store.state.windows.darkTheme); - }, - // async loadRoles() { - // if (this.$store.getters['users/GtrIsAdmin']) { - // const roles = (await this.$axios.get('/admin/roles', { - // headers: { - // 'xc-auth': this.$store.state.users.token - // } - // })).data; - // this.rolesList = roles.filter(role => !['owner', 'creator', 'guest'].includes(role.title)) - // } else { - // this.rolesList = null; - // this.previewAs = null; - // } - // } + } }, - // async created() { - // await this.loadRoles(); - // this.$store.watch( - // state => state.users && state.users.user, - // async (user) => await this.loadRoles() - // ); - // }, }; @@ -1364,6 +1344,11 @@ a { animation-iteration-count: infinite; } +/deep/ .v-toolbar__items{ + align-items: center; +} + + diff --git a/packages/nc-gui/pages/index.vue b/packages/nc-gui/pages/index.vue index 8f8b69d378..508448112e 100644 --- a/packages/nc-gui/pages/index.vue +++ b/packages/nc-gui/pages/index.vue @@ -104,7 +104,7 @@ a revolutionary tech comes

- + { // if (++this.showAnimText === 3) clearInterval(int) - // },2000) + // },2000) f } }; document.addEventListener('mousemove', handler)