From e2f71fd3221c8df048440cc10e67c1b4ab036990 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Wed, 19 Aug 2020 17:04:24 +0200 Subject: [PATCH] Only show app store link if user is admin MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/dashboard/src/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 7906daa5eac..fa9b481e54e 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -55,7 +55,7 @@ - {{ t('dashboard', 'Get more widgets from the app store') }} + {{ t('dashboard', 'Get more widgets from the app store') }}

{{ t('dashboard', 'Change background image') }}

@@ -95,6 +95,7 @@ export default { ], data() { return { + isAdmin: getCurrentUser().isAdmin, timer: new Date(), registeredStatus: [], callbacks: {}, -- 2.39.5