Merge pull request #224 from ThatOneCalculator/refactor/notification-default-action-text
make default notification action text "Open"
This commit is contained in:
commit
25e1c6e759
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ Variants {
|
|||
|
||||
delegate: NButton {
|
||||
text: {
|
||||
var actionText = modelData.text || "Action"
|
||||
var actionText = modelData.text || "Open"
|
||||
// If text contains comma, take the part after the comma (the display text)
|
||||
if (actionText.includes(",")) {
|
||||
return actionText.split(",")[1] || actionText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue