mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
feat(settings): Emit loaded event for user management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
c3354e9c84
commit
e1e607ac8b
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
<script>
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { emit } from '@nextcloud/event-bus'
|
||||
import { defineComponent } from 'vue'
|
||||
|
||||
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
|
||||
|
|
@ -69,6 +70,7 @@ export default defineComponent({
|
|||
window.OCA.Settings.UserList = window.OCA.Settings.UserList ?? {}
|
||||
// and add the registerAction method
|
||||
window.OCA.Settings.UserList.registerAction = this.registerAction
|
||||
emit('settings:user-management:loaded')
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue