From b94d38072982081803605f7439aeaa61af335db2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 23 Jun 2020 21:40:59 -0400 Subject: [PATCH] Adding timeouts to message and delete picture notifications. #834 --- ui/src/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/utils.ts b/ui/src/utils.ts index bdb9afbd2da..f01a8494ae3 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -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();