From 65e0a73305a0a9fd31934ecfc11869c4e47a52b3 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 28 Jul 2020 15:16:55 -0400 Subject: [PATCH] chore: ensure host catalog type is saved --- .../scopes/scope/projects/project/host-catalogs/new.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/core/app/routes/scopes/scope/projects/project/host-catalogs/new.js b/ui/core/app/routes/scopes/scope/projects/project/host-catalogs/new.js index badecca3b..22097c23d 100644 --- a/ui/core/app/routes/scopes/scope/projects/project/host-catalogs/new.js +++ b/ui/core/app/routes/scopes/scope/projects/project/host-catalogs/new.js @@ -10,7 +10,10 @@ export default class ScopesScopeProjectsProjectHostCatalogsNewRoute extends Rout */ model() { const scopeModel = this.modelFor('scopes.scope.projects.project'); - return this.store.createRecord('host-catalog', { scopeModel }); + return this.store.createRecord('host-catalog', { + type: 'static', + scopeModel + }); } }