From 17dcdf4a43672e2e69983657d58e5941b834bc9c Mon Sep 17 00:00:00 2001 From: Rishabh Gupta <38923768+imrishabh18@users.noreply.github.com> Date: Wed, 30 Sep 2020 01:32:45 +0000 Subject: [PATCH 1/2] Closes #213 --- client/src/app/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/App.js b/client/src/app/App.js index e96b0bf6..21635c15 100644 --- a/client/src/app/App.js +++ b/client/src/app/App.js @@ -2040,7 +2040,7 @@ function getOpenFileErrorDialog(options) { let seperator = ''; if (isLast) { - seperator = ' or '; + seperator = ''; } else if (!isFirst) { seperator = ', '; } From d9a9532131db78b1d1a5e120b222b954e2e61e3c Mon Sep 17 00:00:00 2001 From: Rishabh Gupta <38923768+imrishabh18@users.noreply.github.com> Date: Tue, 13 Oct 2020 21:19:10 +0000 Subject: [PATCH 2/2] fix(client/App): update text for wrong file error Closes #213 --- client/src/app/App.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/app/App.js b/client/src/app/App.js index 21635c15..38db2ec6 100644 --- a/client/src/app/App.js +++ b/client/src/app/App.js @@ -2040,9 +2040,11 @@ function getOpenFileErrorDialog(options) { let seperator = ''; if (isLast) { - seperator = ''; + seperator = ' or '; } else if (!isFirst) { seperator = ', '; + } else if(isLast && providerNames.length === 1) { + seperator = ' '; } return `${ string }${ seperator }${ providerName }`;