File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
apps/settings/src/components Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 152152 class =" button primary icon-checkmark-white has-tooltip"
153153 type =" submit"
154154 value =" " >
155+ <div class =" closeButton" >
156+ <Actions >
157+ <ActionButton icon =" icon-close" @click =" onClose" >
158+ {{ t('settings', 'Close') }}
159+ </ActionButton >
160+ </Actions >
161+ </div >
155162 </div >
156163 </form >
157164 <div id =" grid-header"
235242
236243<script >
237244import userRow from ' ./UserList/UserRow'
238- import { Multiselect } from ' nextcloud-vue'
245+ import { Multiselect , Actions , ActionButton } from ' nextcloud-vue'
239246import InfiniteLoading from ' vue-infinite-loading'
240247import Vue from ' vue'
241248
@@ -266,7 +273,9 @@ export default {
266273 components: {
267274 userRow,
268275 Multiselect,
269- InfiniteLoading
276+ InfiniteLoading,
277+ Actions,
278+ ActionButton
270279 },
271280 props: {
272281 users: {
@@ -559,6 +568,9 @@ export default {
559568 this .$router .push ({ name: ' users' })
560569 this .$refs .infiniteLoading .stateChanger .reset ()
561570 }
571+ },
572+ onClose () {
573+ this .showConfig .showNewUserForm = false
562574 }
563575 }
564576}
You can’t perform that action at this time.
0 commit comments