Skip to content

Commit

Permalink
debug cell attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
LeosPrograms committed May 14, 2024
1 parent b86f593 commit 3be5e57
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ui/src/AboutDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ui/src/CellEdit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/SummaryRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<option value={SumType.Empty}>Percent Empty</option>
<option value={SumType.Unique}>Percent Unique</option>
</select>
{: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)}
<select
style="width: 15px;"
bind:value={sumType}
Expand Down

0 comments on commit 3be5e57

Please sign in to comment.