make default notification action text "Open"
This commit is contained in:
parent
f06d0f4e1e
commit
e41c35cb5b
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ Variants {
|
||||||
|
|
||||||
delegate: NButton {
|
delegate: NButton {
|
||||||
text: {
|
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 text contains comma, take the part after the comma (the display text)
|
||||||
if (actionText.includes(",")) {
|
if (actionText.includes(",")) {
|
||||||
return actionText.split(",")[1] || actionText
|
return actionText.split(",")[1] || actionText
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue