Return the old value of replace_by

This commit is contained in:
freearhey 2023-10-12 09:33:28 +03:00
parent 0fe039a9d6
commit 76fa5d6b46
2 changed files with 3 additions and 5 deletions

View file

@ -73,8 +73,8 @@
},
{
name: 'replaced_by',
type: 'channel',
value: data._replaced_by ? data._replaced_by.name : null
type: 'string',
value: data.replaced_by
},
{ name: 'website', type: 'external_link', value: data.website }
].filter(f => (Array.isArray(f.value) ? f.value.length : f.value))