diff options
author | Vanessa Pertsch <vanessa.pertsch@posteo.de> | 2022-02-24 14:38:29 +0100 |
---|---|---|
committer | Vanessa Pertsch <vanessa.pertsch@posteo.de> | 2022-02-24 16:59:57 +0100 |
commit | 49a7d9b7d3f798bed864a15efb0d7c19905c0b97 (patch) | |
tree | c8e22be8b70ab3b0f28bce27eee79771115a7902 /apps/settings/src | |
parent | af5479467eca1fc281d65bfddb348f52df3dd880 (diff) | |
download | nextcloud-server-49a7d9b7d3f798bed864a15efb0d7c19905c0b97.tar.gz nextcloud-server-49a7d9b7d3f798bed864a15efb0d7c19905c0b97.zip |
use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Diffstat (limited to 'apps/settings/src')
-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'], |