feat(settings): Emit loaded event for user management

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2024-06-05 14:52:47 -07:00
parent c3354e9c84
commit e1e607ac8b

View file

@ -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: {