Skip to content

Commit 54c6a64

Browse files
[6.x] Emit asset.saved event from asset editor (#14392)
1 parent 2796e9e commit 54c6a64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

resources/js/components/assets/Editor/Editor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ export default {
459459
this.saving = false;
460460
this.clearErrors();
461461
this.$nextTick(() => this.$refs.container.clearDirtyState());
462+
Statamic.$events.$emit('asset.saved', this.asset);
462463
})
463464
.catch((e) => {
464465
this.saving = false;

0 commit comments

Comments
 (0)