Skip to content

Commit

Permalink
Merge pull request #4725 from nextcloud-libraries/fix/4723/dialog-com…
Browse files Browse the repository at this point in the history
…ponent-registration

fix(NcDialog): register components in NcDialogButton
  • Loading branch information
susnux committed Oct 31, 2023
2 parents a458684 + 49e749c commit eeace13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/NcDialogButton/NcDialogButton.vue
Expand Up @@ -44,6 +44,11 @@ import NcIconSvgWrapper from '../NcIconSvgWrapper/index.js'
export default defineComponent({
name: 'NcDialogButton',
components: {
NcButton,
NcIconSvgWrapper,
},
props: {
/**
* The function that will be called when the button is pressed
Expand Down Expand Up @@ -95,12 +100,7 @@ export default defineComponent({
emit('click', e)
}
return {
NcButton,
NcIconSvgWrapper,
handleClick,
}
return { handleClick }
},
})
</script>

0 comments on commit eeace13

Please sign in to comment.