Only show send toast in chat if send_delay is set
This commit is contained in:
parent
db98ce8db7
commit
666433912f
2 changed files with 18 additions and 14 deletions
|
|
@ -137,6 +137,7 @@
|
||||||
delay: $userSettingsValues.send_delay,
|
delay: $userSettingsValues.send_delay,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if ($userSettingsValues.send_delay) {
|
||||||
pushToast({
|
pushToast({
|
||||||
timeout: 30_000,
|
timeout: 30_000,
|
||||||
children: {
|
children: {
|
||||||
|
|
@ -144,6 +145,7 @@
|
||||||
props: {thunk},
|
props: {thunk},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
clearParent()
|
clearParent()
|
||||||
clearShare()
|
clearShare()
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@
|
||||||
delay: $userSettingsValues.send_delay,
|
delay: $userSettingsValues.send_delay,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if ($userSettingsValues.send_delay) {
|
||||||
pushToast({
|
pushToast({
|
||||||
timeout: 30_000,
|
timeout: 30_000,
|
||||||
children: {
|
children: {
|
||||||
|
|
@ -81,6 +82,7 @@
|
||||||
props: {thunk},
|
props: {thunk},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
clearParent()
|
clearParent()
|
||||||
clearShare()
|
clearShare()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue