Github user garrensmith commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/753#discussion_r72574868
  
    --- Diff: app/addons/databases/stores.js ---
    @@ -72,13 +72,19 @@ var DatabasesStore = FauxtonAPI.Store.extend({
       },
     
       getDatabaseNames: function () {
    -    if (this._backboneCollection) {
    -      return _.map(this._backboneCollection.toJSON(), function (item, key) 
{
    -        return item.name;
    -      });
    -    } else {
    +    if (!this._backboneCollection || !this._backboneCollection.length) {
    --- End diff --
    
    It would be kind of nice to remove the backbone collection as well and just 
have a json list of databases. But maybe we do that in the next step.


---
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.
---

Reply via email to