feat: meta image and keywords from settings

This commit is contained in:
Jannat Patel
2025-04-19 12:37:24 +05:30
parent 73941a159a
commit eb0587f726
5 changed files with 59 additions and 14 deletions

View File

@@ -51,7 +51,9 @@ const props = defineProps({
const update = () => {
props.fields.forEach((f) => {
if (f.type != 'Column Break') {
if (f.type == 'Upload') {
props.data.doc[f.name] = f.value ? f.value.file_url : null
} else if (f.type != 'Column Break') {
props.data.doc[f.name] = f.value
}
})