diff options
author | Vanessa <38529028+vanpertsch@users.noreply.github.com> | 2022-03-15 08:08:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 08:08:37 +0100 |
commit | ae79c0cc1ce0a1895b3a2fb8cdff418832643840 (patch) | |
tree | 0a7bb6f8fe31bfa45db8302968f80b811350467b /apps/settings/src | |
parent | a74ab5bd4863c2b0d9a23f62102e1cb4048f49c6 (diff) | |
parent | c1dfd6f784bbd980de503a1d88675294b502c346 (diff) | |
download | nextcloud-server-ae79c0cc1ce0a1895b3a2fb8cdff418832643840.tar.gz nextcloud-server-ae79c0cc1ce0a1895b3a2fb8cdff418832643840.zip |
Merge pull request #31378 from nextcloud/fix/31237/new-button-UserList
use new button component UserList
Diffstat (limited to 'apps/settings/src')
-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: { |