fix support issue 3
This commit is contained in:
@@ -108,7 +108,7 @@ export function formatSupportMessengers(entries: SupportMessengerEntryDraft[]):
|
|||||||
}))
|
}))
|
||||||
.filter((row) => isSupportMessengerType(row.messenger) && row.id !== '')
|
.filter((row) => isSupportMessengerType(row.messenger) && row.id !== '')
|
||||||
|
|
||||||
if (normalized.length === 0) return ''
|
if (normalized.length === 0) return '[]'
|
||||||
return JSON.stringify(normalized, null, 0)
|
return JSON.stringify(normalized, null, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user