diff --git a/ui/src/AboutDialog.svelte b/ui/src/AboutDialog.svelte index 40d5982..4a8a2e5 100644 --- a/ui/src/AboutDialog.svelte +++ b/ui/src/AboutDialog.svelte @@ -72,7 +72,6 @@ for (let j = 0; j < csv.data[i].length; j++) { let cellData = {attachments:[], value: csv.data[i][j]}; row.cells[boardState.columnDefs[j].id] = cellData; - console.log("added", boardState.columnDefs[j].id, row.cells[boardState.columnDefs[j]]); } boardState.rows.push(row) diff --git a/ui/src/CellEdit.svelte b/ui/src/CellEdit.svelte index 4abab45..5e21e76 100644 --- a/ui/src/CellEdit.svelte +++ b/ui/src/CellEdit.svelte @@ -39,7 +39,7 @@ let closing = "" let label = ""; $: filteredSuggestions = [ - ...new Set(allColumnValues.filter(value => value !== undefined && value.includes(label))), + ...new Set(allColumnValues.filter(value => value !== undefined && value?.includes(label))), ...(label !== "" ? [label] : []) ]; $: label; diff --git a/ui/src/SummaryRow.svelte b/ui/src/SummaryRow.svelte index 8aa4178..a8ac151 100644 --- a/ui/src/SummaryRow.svelte +++ b/ui/src/SummaryRow.svelte @@ -217,7 +217,7 @@ - {:else if [ColumnType.String, ColumnType.Date, ColumnType.Email, ColumnType.WeaveAsset, ColumnType.TableLink, ColumnType.Label].includes(def.type)} + {:else if [ColumnType.String, ColumnType.Date, ColumnType.Email, ColumnType.WeaveAsset, ColumnType.TableLink, ColumnType.Label, ColumnType.WALEmbed].includes(def.type)}