mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Bug Fix : converted ms into second by multiplying it with 1000 for success notification (#3662)
This commit is contained in:
parent
e828f7d226
commit
ef1e166790
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue