diff options
author | Vanessa Pertsch <vanessa.pertsch@posteo.de> | 2022-02-24 15:11:10 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-03-14 09:34:27 +0000 |
commit | c1dfd6f784bbd980de503a1d88675294b502c346 (patch) | |
tree | 7be58b4bb31a1adddf7b7d6aaadad54962037839 /apps | |
parent | 4e96db86080aa5e85bb6bec139c7f3f5259f2628 (diff) | |
download | nextcloud-server-c1dfd6f784bbd980de503a1d88675294b502c346.tar.gz nextcloud-server-c1dfd6f784bbd980de503a1d88675294b502c346.zip |
use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/UserList.vue | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index ae06d9da62a..4d50da62596 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -142,12 +142,12 @@ <div v-if="showConfig.showUserBackend" class="userBackend" /> <div v-if="showConfig.showLastLogin" class="lastLogin" /> <div class="user-actions"> - <button id="newsubmit" - class="button primary" - type="submit" + <Button id="newsubmit" + type="primary" + native-type="submit" value=""> {{ t('settings', 'Add a new user') }} - </button> + </Button> </div> </form> </Modal> @@ -234,8 +234,8 @@ import { subscribe, unsubscribe } from '@nextcloud/event-bus' import InfiniteLoading from 'vue-infinite-loading' import Vue from 'vue' -import { Modal } from '@nextcloud/vue' - +import Modal from '@nextcloud/vue/dist/Components/Modal' +import Button from '@nextcloud/vue/dist/Components/Button' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' import userRow from './UserList/UserRow' @@ -269,6 +269,7 @@ export default { userRow, Multiselect, InfiniteLoading, + Button, }, props: { users: { |