From: Julius Härtl Date: Wed, 19 Aug 2020 15:04:24 +0000 (+0200) Subject: Only show app store link if user is admin X-Git-Tag: v20.0.0beta1~35^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e2f71fd3221c8df048440cc10e67c1b4ab036990;p=nextcloud-server.git Only show app store link if user is admin Signed-off-by: Julius Härtl --- 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: {},