Skip to content

Commit

Permalink
fix(Demo): Pressing "Edit" button unstores custom asset, but does not…
Browse files Browse the repository at this point in the history
… update "stored" button (#5936)

Fixes #2200
  • Loading branch information
avelad authored and joeyparrish committed Feb 17, 2024
1 parent 3775daa commit 30a71f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/custom.js
Expand Up @@ -868,6 +868,8 @@ shakaDemo.Custom = class {
c.addButton(shakaDemo.MessageIds.EDIT_CUSTOM, async () => {
if (asset.unstoreCallback) {
await asset.unstoreCallback();
this.saveAssetInfos_(this.assets_);
this.remakeSavedList_();
}
this.showAssetDialog_(asset);
});
Expand Down

0 comments on commit 30a71f2

Please sign in to comment.