FIX: Don't have CPs perform sets

This commit is contained in:
Robin Ward 2016-11-24 15:31:05 -05:00
parent f9e1177981
commit 0d62ad73d4
3 changed files with 6 additions and 10 deletions

View File

@ -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();
}
});

View File

@ -7,7 +7,7 @@
{{conditional-loading-spinner condition=loading}}
<div class="schema-container">
<ul>
{{#each tables as |table|}}
{{#each filteredTables as |table|}}
{{explorer-schema-onetable table=table}}
{{/each}}
</ul>

View File

@ -2,7 +2,6 @@
export default Ember.View.extend({
_onHideSchema: function() {
Em.Logger.log('resizing');
this.appEvents.trigger('ace:resize');
}.observes('controller.hideSchema'),