feat: Question on default host catalog type value

This commit is contained in:
Susmitha Girumala committed 2022-01-26 10:56:38 -05:00
1 parent 9255d6dd98
commit 07b2c646b1
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,