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