Skip to content

Commit

Permalink
merge: #4001
Browse files Browse the repository at this point in the history
4001: fix(web): Remove Asset.Store SchemaVariantSaved Event r=stack72 a=stack72

We are continually reloading the page when this WsEvent fires. The variant autosaves every few seconds so we don't need to reload everything every few seconds

Co-authored-by: stack72 <[email protected]>
  • Loading branch information
si-bors-ng[bot] and stack72 authored Jun 20, 2024
2 parents e0c2c44 + 075a6c7 commit 68e829e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/web/src/store/asset.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,6 @@ export const useAssetStore = () => {
this.LOAD_ASSET_LIST();
},
},
{
eventType: "SchemaVariantSaved",
callback: (data) => {
if (data.changeSetId !== changeSetId) return;
this.LOAD_ASSET_LIST();
},
},
{
eventType: "SchemaVariantUpdateFinished",
callback: async (data) => {
Expand Down

0 comments on commit 68e829e

Please sign in to comment.