Skip to content

Commit

Permalink
Use markRaw() on the dynamic component
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
  • Loading branch information
rak-phillip committed Sep 26, 2024
1 parent 0d56cf6 commit 4d63a2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell/pages/c/_cluster/apps/charts/install.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import isEqual from 'lodash/isEqual';
import { mapPref, DIFF } from '@shell/store/prefs';
import { mapFeature, MULTI_CLUSTER, LEGACY } from '@shell/store/features';
import { mapGetters } from 'vuex';
import { markRaw } from 'vue';
import { Banner } from '@components/Banner';
import ButtonGroup from '@shell/components/ButtonGroup';
import ChartReadme from '@shell/components/ChartReadme';
Expand Down Expand Up @@ -893,7 +894,7 @@ export default {
const hasChartComponent = this.$store.getters['type-map/hasCustomChart'](component);
if ( hasChartComponent ) {
this.valuesComponent = this.$store.getters['type-map/importChart'](component);
this.valuesComponent = markRaw(this.$store.getters['type-map/importChart'](component));
this.showValuesComponent = true;
} else {
this.valuesComponent = null;
Expand Down

0 comments on commit 4d63a2a

Please sign in to comment.