diff --git a/locales/ja.yml b/locales/ja.yml index 580ade0ed3..08e437fbf7 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -903,7 +903,7 @@ desktop/views/pages/admin/admin.vue: users: "ユーザー" update: "更新" -desktop/views/paages/admin/admin.dashboard.vue: +desktop/views/pages/admin/admin.dashboard.vue: dashboard: "ダッシュボード" all-users: "全てのユーザー" original-users: "このインスタンスのユーザー" diff --git a/src/client/app/desktop/views/pages/admin/admin.vue b/src/client/app/desktop/views/pages/admin/admin.vue index c96ebade0c..91f6a23cdc 100644 --- a/src/client/app/desktop/views/pages/admin/admin.vue +++ b/src/client/app/desktop/views/pages/admin/admin.vue @@ -30,6 +30,16 @@ export default Vue.extend({ components: { XDashboard, XSuspendUser + }, + data() { + return { + page: 'dashboard' + }; + }, + methods: { + nav(page: string) { + this.page = page; + } } });