From 0fc9a91ed7a794c483cc87b5d60226ffcdfd8d74 Mon Sep 17 00:00:00 2001 From: Federico Ricciuti Date: Thu, 29 Apr 2021 09:38:00 +0200 Subject: [PATCH] fix translate change password (#1984) --- public/js/cat_source/es6/components/projects/JobContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/cat_source/es6/components/projects/JobContainer.js b/public/js/cat_source/es6/components/projects/JobContainer.js index 4f145b842e..a8a5c2e0cf 100644 --- a/public/js/cat_source/es6/components/projects/JobContainer.js +++ b/public/js/cat_source/es6/components/projects/JobContainer.js @@ -101,7 +101,7 @@ class JobContainer extends React.Component { let self = this let label = '' switch (revision_number) { - case null: { + case undefined: { this.oldPassword = this.props.job.get('password') label = 'Translate' break