Fix deletion
This commit is contained in:
parent
7f6ef551c9
commit
ead2a2795e
|
@ -52,7 +52,7 @@ export async function processOutputBBReferences(
|
|||
|
||||
switch (subtype) {
|
||||
case FieldSubtype.USER:
|
||||
for (const id of value.split(",")) {
|
||||
for (const id of value.split(",").filter(x => !!x)) {
|
||||
try {
|
||||
const user = await cache.user.getUser(id)
|
||||
if (user) {
|
||||
|
|
|
@ -229,7 +229,7 @@ export async function outputProcessing<T extends Row[] | Row>(
|
|||
}
|
||||
} else if (column.type == FieldTypes.BB_REFERENCE) {
|
||||
for (let row of enriched) {
|
||||
if (!row[property]) {
|
||||
if (!row[property] == null) {
|
||||
continue
|
||||
}
|
||||
row[property] = await processOutputBBReferences(
|
||||
|
|
Loading…
Reference in New Issue