mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #38344 from nextcloud/38340-fix-add-group-broken
38340 fix add group broken
This commit is contained in:
commit
16f13311cd
5 changed files with 11 additions and 12 deletions
|
|
@ -37,7 +37,7 @@
|
|||
:loading="loadingAddGroup"
|
||||
:title="t('settings', 'Add group')"
|
||||
@click="showAddGroupForm"
|
||||
@update:title="createGroup">
|
||||
@new-item="createGroup">
|
||||
<template #icon>
|
||||
<Plus :size="20" />
|
||||
</template>
|
||||
|
|
@ -445,16 +445,15 @@ export default {
|
|||
},
|
||||
|
||||
showAddGroupForm() {
|
||||
this.$refs.addGroup.editingActive = true
|
||||
this.$refs.addGroup.onMenuToggle(false)
|
||||
this.$refs.addGroup.newItemActive = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.addGroup.$refs.editingInput.focusInput()
|
||||
this.$refs.addGroup.$refs.newItemInput.focusInput()
|
||||
})
|
||||
},
|
||||
|
||||
hideAddGroupForm() {
|
||||
this.$refs.addGroup.editingActive = false
|
||||
this.$refs.addGroup.editingValue = ''
|
||||
this.$refs.addGroup.newItemActive = false
|
||||
this.$refs.addGroup.newItemValue = ''
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
4
dist/settings-users-8351.js
vendored
4
dist/settings-users-8351.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-users-8351.js.map
vendored
2
dist/settings-users-8351.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue