Prevent group edited indicator in Shared View (#11284)

This commit is contained in:
Azri Kahar
2022-01-26 10:59:19 +08:00
committed by GitHub
parent ed2d4b436e
commit 2b7f2d15fd

View File

@@ -1,6 +1,6 @@
<template>
<v-form
v-model="item"
v-model="edits"
:collection="collection"
:initial-values="item"
:primary-key="primaryKey"
@@ -28,9 +28,9 @@ export default defineComponent({
setup(props) {
const { collection, primaryKey } = toRefs(props);
const { item, loading } = useItem(collection, primaryKey);
const { edits, item, loading } = useItem(collection, primaryKey);
return { item, loading };
return { edits, item, loading };
},
});
</script>