FEATURE: introduce data-explorer tables (#61)

Instead of using `PluginStoreRow` we should use plugin-specific models like `DataExplorer::Query` and `DataExplorer::QueryGroup`
This commit is contained in:
Krzysztof Kotlarek
2020-08-27 10:29:57 +10:00
committed by GitHub
parent fe420931ba
commit fe0806eb2a
14 changed files with 463 additions and 518 deletions
@@ -67,7 +67,7 @@ export default Ember.Controller.extend({
@computed("groups")
groupOptions(groups) {
return groups.map(g => {
return { id: g.id.toString(), name: g.name };
return { id: g.id, name: g.name };
});
},
@@ -82,7 +82,7 @@ Query.reopenClass({
"name",
"description",
"sql",
"created_by",
"user_id",
"created_at",
"group_ids",
"last_run_at"