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 (shaka-project#5936)

Fixes shaka-project#2200
  • Loading branch information
avelad authored and Rodolphe Breton committed Nov 30, 2023
1 parent 38aa278 commit dc87096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,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 dc87096

Please sign in to comment.