FIX: Don't have CPs perform sets
This commit is contained in:
parent
f9e1177981
commit
0d62ad73d4
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
export default Ember.View.extend({
|
||||
|
||||
_onHideSchema: function() {
|
||||
Em.Logger.log('resizing');
|
||||
this.appEvents.trigger('ace:resize');
|
||||
}.observes('controller.hideSchema'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue