refactor(editor): Fix type errors (no-changelog) (#9584)

This commit is contained in:
Csaba Tuncsik
2024-06-03 14:24:26 +02:00
committed by GitHub
parent c1b1ee57b1
commit 4eb6edc73a
11 changed files with 83 additions and 62 deletions

View File

@@ -193,11 +193,6 @@ export default defineComponent({
openUpdatesPanel() {
this.uiStore.openModal(VERSIONS_MODAL_KEY);
},
async navigateTo(routeName: (typeof VIEWS)[keyof typeof VIEWS]) {
if (this.$router.currentRoute.name !== routeName) {
await this.$router.push({ name: routeName });
}
},
async handleSelect(key: string) {
switch (key) {
case 'users': // Fakedoor feature added via hooks when user management is disabled on cloud