diff --git a/assets/javascripts/discourse/components/explorer-schema.js.es6 b/assets/javascripts/discourse/components/explorer-schema.js.es6 index 2965549..c4e7f58 100644 --- a/assets/javascripts/discourse/components/explorer-schema.js.es6 +++ b/assets/javascripts/discourse/components/explorer-schema.js.es6 @@ -122,12 +122,9 @@ export default Ember.Component.extend({ this.set('loading', true); }.observes('filter'), - tables: function() { - if (!this.get('filteredTables')) { - this.set('loading', true); - this.triggerFilter(); - return []; - } - return this.get('filteredTables'); - }.property('transformedSchema', 'filteredTables') + init() { + this._super(); + this.set('loading', true); + this.triggerFilter(); + } }); diff --git a/assets/javascripts/discourse/templates/components/explorer-schema.hbs b/assets/javascripts/discourse/templates/components/explorer-schema.hbs index 82104f4..eb11ee0 100644 --- a/assets/javascripts/discourse/templates/components/explorer-schema.hbs +++ b/assets/javascripts/discourse/templates/components/explorer-schema.hbs @@ -7,7 +7,7 @@ {{conditional-loading-spinner condition=loading}}
diff --git a/assets/javascripts/discourse/views/admin-plugins-explorer.js.es6 b/assets/javascripts/discourse/views/admin-plugins-explorer.js.es6 index 0755a45..660bc81 100644 --- a/assets/javascripts/discourse/views/admin-plugins-explorer.js.es6 +++ b/assets/javascripts/discourse/views/admin-plugins-explorer.js.es6 @@ -2,7 +2,6 @@ export default Ember.View.extend({ _onHideSchema: function() { - Em.Logger.log('resizing'); this.appEvents.trigger('ace:resize'); }.observes('controller.hideSchema'),