🎨
This commit is contained in:
parent
008e3fb37e
commit
05aa0fa11a
2 changed files with 12 additions and 12 deletions
|
@ -130,16 +130,6 @@ const menuDef = computed(() => [{
|
||||||
}, {
|
}, {
|
||||||
title: i18n.ts.otherSettings,
|
title: i18n.ts.otherSettings,
|
||||||
items: [{
|
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',
|
icon: 'ti ti-badges',
|
||||||
text: i18n.ts.roles,
|
text: i18n.ts.roles,
|
||||||
to: '/settings/roles',
|
to: '/settings/roles',
|
||||||
|
@ -169,6 +159,16 @@ const menuDef = computed(() => [{
|
||||||
text: 'Webhook',
|
text: 'Webhook',
|
||||||
to: '/settings/webhook',
|
to: '/settings/webhook',
|
||||||
active: currentPage?.route.name === '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',
|
icon: 'ti ti-dots',
|
||||||
text: i18n.ts.other,
|
text: i18n.ts.other,
|
||||||
|
@ -236,7 +236,7 @@ onUnmounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(router.currentRef, (to) => {
|
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');
|
router.replace('/settings/profile');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="_gaps_m">
|
<div class="_gaps_m">
|
||||||
<FormSection>
|
<FormSection first>
|
||||||
<template #label>{{ i18n.ts.moveTo }}</template>
|
<template #label>{{ i18n.ts.moveTo }}</template>
|
||||||
<MkInput v-model="moveToAccount" manual-save>
|
<MkInput v-model="moveToAccount" manual-save>
|
||||||
<template #prefix><i class="ti ti-plane-departure"></i></template>
|
<template #prefix><i class="ti ti-plane-departure"></i></template>
|
||||||
|
|
Loading…
Reference in a new issue