Skip to content

Commit

Permalink
Merge pull request #5196 from nextcloud-libraries/fix/nc-actions--re-…
Browse files Browse the repository at this point in the history
…rendering-slots-issue

revert: fix(NcActions): use new slots api
  • Loading branch information
GretaD committed Feb 1, 2024
2 parents 83d844d + 08cc694 commit 6f1a4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/actionGlobal.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {

methods: {
getText() {
return this.$scopedSlots.default ? this.$scopedSlots.default()?.[0].text.trim() : ''
return this.$slots.default ? this.$slots.default[0].text.trim() : ''
},
},
}

0 comments on commit 6f1a4c9

Please sign in to comment.