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 committed Nov 30, 2023
1 parent 1416f38 commit 7e2e543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/custom.js
Expand Up @@ -828,6 +828,8 @@ shakaDemo.Custom = class {
c.addButton('Edit', async () => {
if (asset.unstoreCallback) {
await asset.unstoreCallback();
this.saveAssetInfos_(this.assets_);
this.remakeSavedList_();
}
this.showAssetDialog_(asset);
});
Expand Down

0 comments on commit 7e2e543

Please sign in to comment.