Skip to content

Commit

Permalink
feat(settings): Emit loaded event for user management
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Jun 18, 2024
1 parent c3354e9 commit e1e607a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/settings/src/views/UserManagement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit e1e607a

Please sign in to comment.