diff --git a/mixins/create-edit-view.js b/mixins/create-edit-view.js index 4eb078f9d75..06e496875c5 100644 --- a/mixins/create-edit-view.js +++ b/mixins/create-edit-view.js @@ -69,7 +69,9 @@ export default { }, schema() { - return this.$store.getters['cluster/schemaFor'](this.value.type); + const inStore = this.$store.getters['currentProduct'].inStore; + + return this.$store.getters[`${ inStore }/schemaFor`](this.value.type); }, isNamespaced() {