diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/pages/settings/index.vue | 22 | ||||
| -rw-r--r-- | packages/frontend/src/pages/settings/migration.vue | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 4e22d7b60b..9824fa8c15 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -130,16 +130,6 @@ const menuDef = computed(() => [{ }, { title: i18n.ts.otherSettings, items: [{ - icon: 'ti ti-plane', - text: i18n.ts.migration, - to: '/settings/migration', - active: currentPage?.route.name === 'migration', - }, { - icon: 'ti ti-package', - text: i18n.ts.importAndExport, - to: '/settings/import-export', - active: currentPage?.route.name === 'import-export', - }, { icon: 'ti ti-badges', text: i18n.ts.roles, to: '/settings/roles', @@ -170,6 +160,16 @@ const menuDef = computed(() => [{ to: '/settings/webhook', active: currentPage?.route.name === 'webhook', }, { + icon: 'ti ti-package', + text: i18n.ts.importAndExport, + to: '/settings/import-export', + active: currentPage?.route.name === 'import-export', + }, { + icon: 'ti ti-plane', + text: i18n.ts.migration, + to: '/settings/migration', + active: currentPage?.route.name === 'migration', + }, { icon: 'ti ti-dots', text: i18n.ts.other, to: '/settings/other', @@ -236,7 +236,7 @@ onUnmounted(() => { }); watch(router.currentRef, (to) => { - if (to.route.name === "settings" && to.child?.route.name == null && !narrow) { + if (to.route.name === 'settings' && to.child?.route.name == null && !narrow) { router.replace('/settings/profile'); } }); diff --git a/packages/frontend/src/pages/settings/migration.vue b/packages/frontend/src/pages/settings/migration.vue index 0295aeae18..1fd3d64fd5 100644 --- a/packages/frontend/src/pages/settings/migration.vue +++ b/packages/frontend/src/pages/settings/migration.vue @@ -1,6 +1,6 @@ <template> <div class="_gaps_m"> - <FormSection> + <FormSection first> <template #label>{{ i18n.ts.moveTo }}</template> <MkInput v-model="moveToAccount" manual-save> <template #prefix><i class="ti ti-plane-departure"></i></template> |