Skip to content

Commit

Permalink
Fix creating fleet resources when in a different cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent99 committed Sep 24, 2020
1 parent 739ea56 commit 7572823
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mixins/create-edit-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7572823

Please sign in to comment.