feat: Question on default host catalog type value
This commit is contained in:
1 parent
cc56fb9636
commit
46b6c51f5d
1 file changed
+1
-2
@@ -18,8 +18,7 @@ export default class ScopesScopeHostCatalogsNewRoute extends Route {
|
||||
*/
|
||||
model(params) {
|
||||
const scopeModel = this.modelFor('scopes.scope');
|
||||
// TODO Use model provider type method
|
||||
// to set params.type to 'static' if type is not provided
|
||||
// FIXME Should default static type be specified when type is undefined?
|
||||
params.type = 'static';
|
||||
return this.store.createRecord('host-catalog', {
|
||||
type: params.type,
|
||||
|
||||
Reference in new issue
Block a user