Skip to content

Commit

Permalink
Merge pull request #45685 from nextcloud/feat/emit-users-loaded
Browse files Browse the repository at this point in the history
feat(settings): Emit loaded event for user management
  • Loading branch information
Pytal authored Jun 18, 2024
2 parents c3354e9 + 68b2b84 commit a358717
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 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
4 changes: 2 additions & 2 deletions dist/settings-users-3239.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-users-3239.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/settings-vue-settings-apps-users-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-vue-settings-apps-users-management.js.map

Large diffs are not rendered by default.

0 comments on commit a358717

Please sign in to comment.