diff options
Diffstat (limited to 'apps/settings/src/components/AppList.vue')
-rw-r--r-- | apps/settings/src/components/AppList.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 6f82d0c52e1..31d85e51092 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -26,12 +26,12 @@ <template v-if="useListView"> <div v-if="showUpdateAll" class="counter"> {{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }} - <button v-if="showUpdateAll" + <Button v-if="showUpdateAll" id="app-list-update-all" - class="primary" + type="primary" @click="updateAll"> {{ t('settings', 'Update all') }} - </button> + </Button> </div> <div v-if="!showUpdateAll" class="counter"> {{ t('settings', 'All apps are up-to-date.') }} @@ -104,11 +104,13 @@ import AppItem from './AppList/AppItem' import PrefixMixin from './PrefixMixin' import pLimit from 'p-limit' +import Button from '@nextcloud/vue/dist/Components/Button' export default { name: 'AppList', components: { AppItem, + Button, }, mixins: [PrefixMixin], props: ['category', 'app', 'search'], |