mirror of
https://github.com/directus/directus.git
synced 2026-01-23 07:17:55 -05:00
Fix the edited dot if the field value is falsy (#5054)
This commit is contained in:
committed by
GitHub
parent
237f709a5f
commit
0f64b00a73
@@ -135,7 +135,7 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
const isEdited = computed<boolean>(() => {
|
||||
return props.value && isEqual(props.value, props.initialValue) === false;
|
||||
return props.value !== undefined && isEqual(props.value, props.initialValue) === false;
|
||||
});
|
||||
|
||||
const { showRaw, rawValue } = useRaw();
|
||||
|
||||
Reference in New Issue
Block a user