mirror of
https://github.com/directus/directus.git
synced 2026-02-08 09:16:13 -05:00
Fixes bug when trying to edit geometry in code interface. (#7778)
This commit is contained in:
@@ -111,7 +111,7 @@ export default defineComponent({
|
||||
const stringValue = computed<string>(() => {
|
||||
if (props.value === null) return '';
|
||||
|
||||
if (props.type === 'json') {
|
||||
if (typeof props.value === 'object') {
|
||||
return JSON.stringify(props.value, null, 4);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user