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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user