From ef1e166790b112d9a23cd21b8e81bc35b5c436aa Mon Sep 17 00:00:00 2001 From: Manish Kushare Date: Sat, 30 Jul 2022 11:59:07 +0530 Subject: [PATCH] Bug Fix : converted ms into second by multiplying it with 1000 for success notification (#3662) --- frontend/src/_helpers/appUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index 86da1b02bb..1669e874f1 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -752,7 +752,7 @@ export function runQuery(_ref, queryId, queryName, confirmed = undefined, mode) } if (dataQuery.options.showSuccessNotification) { - const notificationDuration = dataQuery.options.notificationDuration || 5000; + const notificationDuration = dataQuery.options.notificationDuration * 1000 || 5000; toast.success(dataQuery.options.successMessage, { duration: notificationDuration, });