From 7596b59c81e4e9c7710db68f6f821b13b33a3181 Mon Sep 17 00:00:00 2001 From: Earl Floden Date: Wed, 25 Jul 2018 13:51:39 +1000 Subject: [PATCH] fix(ZNTA-2708): specify duration for mt merge process status error notifications (#997) --- server/zanata-frontend/src/app/reducers/version-reducer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/zanata-frontend/src/app/reducers/version-reducer.js b/server/zanata-frontend/src/app/reducers/version-reducer.js index 6ec3b350dd..f25b6acc57 100644 --- a/server/zanata-frontend/src/app/reducers/version-reducer.js +++ b/server/zanata-frontend/src/app/reducers/version-reducer.js @@ -229,7 +229,8 @@ const version = handleActions({ ? statusToSeverity(state.MTMerge.processStatus.statusCode) : SEVERITY.INFO}`, message: `MT Merge finished ${state.MTMerge.processStatus - ? 'with status: ' + state.MTMerge.processStatus.statusCode : ''}` + ? 'with status: ' + state.MTMerge.processStatus.statusCode : ''}`, + duration: SEVERITY.ERROR ? null : 3.5 } } })