feat: Question on default host catalog type value

This commit is contained in:
Susmitha Girumala authored and dharini committed 2022-01-31 11:38:58 -08:00
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,