Skip to content

Commit a2745c7

Browse files
committed
Ensure savingRef and errorsRef are returned as refs
1 parent 854e5d7 commit a2745c7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

resources/js/components/PublishForm.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,16 @@ export default {
341341
saveKeyBinding: null,
342342
quickSaveKeyBinding: null,
343343
quickSave: false,
344+
};
345+
},
344346
345-
savingRef: ref(false),
346-
errorsRef: ref({}),
347+
setup() {
348+
const savingRef = ref(false);
349+
const errorsRef = ref({});
350+
351+
return {
352+
savingRef: computed(() => savingRef),
353+
errorsRef: computed(() => errorsRef),
347354
};
348355
},
349356

0 commit comments

Comments
 (0)