Github user garrensmith commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/849#discussion_r101277979
--- Diff: app/core/base.js ---
@@ -157,6 +157,10 @@ FauxtonAPI.setSession = function (newSession) {
return FauxtonAPI.session.fetchUser();
};
-FauxtonAPI.reducers = [];
+FauxtonAPI.reducers = {};
+
+FauxtonAPI.addReducers = (reducers) => {
+ FauxtonAPI.reducers = Object.assign({}, FauxtonAPI.reducers, reducers);
+};
--- End diff --
Can't we just add the npm package and it will work? I would be happy for
you to do that in this PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---