Skip to content

Commit

Permalink
Merge pull request #12881 from rak-phillip/chore/reactive-map
Browse files Browse the repository at this point in the history
Remove `markRaw()` from `map`
  • Loading branch information
rak-phillip authored Dec 19, 2024
2 parents af63f80 + 9cd6679 commit 4dd926c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/plugins/dashboard-store/mutations.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { markRaw, reactive } from 'vue';
import { reactive } from 'vue';
import { addObject, addObjects, clear, removeObject } from '@shell/utils/array';
import { SCHEMA, COUNT } from '@shell/config/types';
import { normalizeType, keyFieldFor } from '@shell/plugins/dashboard-store/normalize';
Expand Down Expand Up @@ -36,7 +36,7 @@ function registerType(state, type) {
loadCounter: 0,

// Not enumerable so they don't get sent back to the client for SSR
map: markRaw(new Map()),
map: new Map(),
};

state.types[type] = cache;
Expand Down

0 comments on commit 4dd926c

Please sign in to comment.