Signed-off-by: Julius Härtl <jus@bitgrid.net>
</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" />
],
data() {
return {
+ isAdmin: getCurrentUser().isAdmin,
timer: new Date(),
registeredStatus: [],
callbacks: {},