Untitled
unknown
plain_text
a year ago
224 B
3
Indexable
Never
const removeEmptyTranslations = () => { for (const lang in form.translations) { if (!Object.values(form.translations[lang]).some(val => val !== '')) { delete form.translations[lang]; } } }