fix preview

This commit is contained in:
Henry Jameson 2026-08-12 00:28:16 +03:00
commit da2fe5ce79

View file

@ -581,8 +581,11 @@ const PostStatusForm = {
}), }),
}, },
watch: { watch: {
isDirty(newVal, oldVal) { newStatus: {
this.statusChanged() deep: true,
handler() {
this.statusChanged()
},
}, },
saveable(val) { saveable(val) {
// https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#usage_notes // https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#usage_notes