Remove extraneous check if view ID exists

This commit is contained in:
Andrew Kingston 2023-08-30 15:46:48 +01:00
parent 7505eccbbc
commit 4bdc35eec2
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@
} }
if (!val.resourceId) { if (!val.resourceId) {
if (val.type === "viewV2") { if (val.type === "viewV2") {
val.resourceId = val.id || val.tableId val.resourceId = val.id
} else { } else {
val.resourceId = val.tableId val.resourceId = val.tableId
} }