Adding timeouts to message and delete picture notifications. #834

pull/633/head
Dessalines 4 years ago
parent 790b944031
commit b94d380729

4
ui/src/utils.ts vendored

@ -527,7 +527,7 @@ export function pictrsDeleteToast(
backgroundColor: backgroundColor,
gravity: 'top',
position: 'right',
duration: 0,
duration: 10000,
onClick: () => {
if (toast) {
window.location.replace(deleteUrl);
@ -556,7 +556,7 @@ export function messageToastify(
close: true,
gravity: 'top',
position: 'right',
duration: 0,
duration: 5000,
onClick: () => {
if (toast) {
toast.hideToast();

Loading…
Cancel
Save