Skip to content

Commit

Permalink
Merge pull request #3745 from nextcloud/fix/action-link-target
Browse files Browse the repository at this point in the history
Allow custom target names for the link target
  • Loading branch information
raimund-schluessler authored Feb 14, 2023
2 parents 3bd8522 + d797dd3 commit 58bc6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcActionLink/NcActionLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
type: String,
default: '_self',
validator: value => {
return ['_blank', '_self', '_parent', '_top'].indexOf(value) > -1
return value && (!value.startsWith('_') || ['_blank', '_self', '_parent', '_top'].indexOf(value) > -1)
},
},
/**
Expand Down

0 comments on commit 58bc6f2

Please sign in to comment.