diff options
-rw-r--r-- | apps/dashboard/src/App.vue | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ </li> </Draggable> - <a :href="appStoreUrl" class="button">{{ t('dashboard', 'Get more widgets from the app store') }}</a> + <a v-if="isAdmin" :href="appStoreUrl" class="button">{{ t('dashboard', 'Get more widgets from the app store') }}</a> <h3>{{ t('dashboard', 'Change background image') }}</h3> <BackgroundSettings :background="background" @updateBackground="updateBackground" /> @@ -95,6 +95,7 @@ export default { ], data() { return { + isAdmin: getCurrentUser().isAdmin, timer: new Date(), registeredStatus: [], callbacks: {}, |