You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by am...@apache.org on 2018/01/03 17:12:22 UTC
[couchdb-fauxton] 04/06: Address Garren's comments
This is an automated email from the ASF dual-hosted git repository.
amaranhao pushed a commit to branch upgrade-to-eslint-v4
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
commit 4fa3a216784927a457470584fb76a94137d619e4
Author: Antonio Maranhao <an...@Antonios-MacBook-Pro.local>
AuthorDate: Wed Jan 3 10:55:05 2018 -0500
Address Garren's comments
---
app/addons/replication/components/common-table.js | 2 +-
app/addons/replication/controller.js | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/app/addons/replication/components/common-table.js b/app/addons/replication/components/common-table.js
index 457b689..3fd6c9d 100644
--- a/app/addons/replication/components/common-table.js
+++ b/app/addons/replication/components/common-table.js
@@ -23,7 +23,7 @@ export const formatUrl = (url) => {
try {
urlObj = new URL(removeCredentialsFromUrl(url));
encoded = encodeURIComponent(urlObj.pathname.slice(1));
- } catch (error) {
+ } catch {
return '';
}
diff --git a/app/addons/replication/controller.js b/app/addons/replication/controller.js
index 6e96f0c..9854b53 100644
--- a/app/addons/replication/controller.js
+++ b/app/addons/replication/controller.js
@@ -251,9 +251,8 @@ export default class ReplicationController extends React.Component {
getCrumbs () {
if (this.state.tabSection === 'new replication') {
return [{'name': 'Job Configuration'}];
- } else {
- return [{'name': 'Replication'}];
}
+ return [{'name': 'Replication'}];
}
getTabs () {
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.