mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
fix(frontend): correctly handle when result is undefined (#2693)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
}
|
||||
|
||||
function updateRemainingColumns(result: any[], columns: string[]) {
|
||||
if (result.length > 0) {
|
||||
if (result?.length > 0) {
|
||||
const allKeysSet: Set<string> = result.reduce((acc, obj) => {
|
||||
Object.keys(obj).forEach((key) => acc.add(key))
|
||||
return acc
|
||||
|
||||
Reference in New Issue
Block a user