Browse Source

Removing assets was not saved

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
fbea467d4d
  1. 10
      src/Squidex/app/shared/components/assets-editor.component.ts

10
src/Squidex/app/shared/components/assets-editor.component.ts

@ -110,12 +110,14 @@ export class AssetsEditorComponent extends AppComponentBase implements ControlVa
this.updateValue();
}
public onAssetUpdated(asset: AssetDto) {
this.messageBus.publish(new AssetUpdated(asset, this));
}
public onAssetRemoving(asset: AssetDto) {
this.oldAssets = this.oldAssets.remove(asset);
this.updateValue();
}
public onAssetUpdated(asset: AssetDto) {
this.messageBus.publish(new AssetUpdated(asset, this));
}
public onAssetFailed(file: File) {

Loading…
Cancel
Save