Only show send toast in chat if send_delay is set
This commit is contained in:
@@ -137,13 +137,15 @@
|
|||||||
delay: $userSettingsValues.send_delay,
|
delay: $userSettingsValues.send_delay,
|
||||||
})
|
})
|
||||||
|
|
||||||
pushToast({
|
if ($userSettingsValues.send_delay) {
|
||||||
timeout: 30_000,
|
pushToast({
|
||||||
children: {
|
timeout: 30_000,
|
||||||
component: ThunkToast,
|
children: {
|
||||||
props: {thunk},
|
component: ThunkToast,
|
||||||
},
|
props: {thunk},
|
||||||
})
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
clearParent()
|
clearParent()
|
||||||
clearShare()
|
clearShare()
|
||||||
|
|||||||
@@ -74,13 +74,15 @@
|
|||||||
delay: $userSettingsValues.send_delay,
|
delay: $userSettingsValues.send_delay,
|
||||||
})
|
})
|
||||||
|
|
||||||
pushToast({
|
if ($userSettingsValues.send_delay) {
|
||||||
timeout: 30_000,
|
pushToast({
|
||||||
children: {
|
timeout: 30_000,
|
||||||
component: ThunkToast,
|
children: {
|
||||||
props: {thunk},
|
component: ThunkToast,
|
||||||
},
|
props: {thunk},
|
||||||
})
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
clearParent()
|
clearParent()
|
||||||
clearShare()
|
clearShare()
|
||||||
|
|||||||
Reference in New Issue
Block a user