From 92e5cff285ef1968c168a10719477804e37858d3 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 14 Aug 2018 01:35:36 +0900 Subject: [PATCH] wip --- locales/ja.yml | 2 +- src/client/app/desktop/views/pages/admin/admin.vue | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/locales/ja.yml b/locales/ja.yml index 580ade0ed..08e437fbf 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 c96ebade0..91f6a23cd 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; + } } });