Skip to content

Commit

Permalink
Merge pull request #900 from trey-wallis/dev
Browse files Browse the repository at this point in the history
8.15.7
  • Loading branch information
decaf-dev authored Dec 5, 2023
2 parents ba70961 + f7d3bf7 commit 623bcb4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"fundingUrl": {
"Buymeacoffee": "https://www.buymeacoffee.com/treywallis"
},
"version": "8.15.6"
"version": "8.15.7"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-dataloom",
"version": "8.15.6",
"version": "8.15.7",
"description": "Weave together data from diverse sources into different views. Inspired by Excel Spreadsheets and Notion.so.",
"main": "main.js",
"scripts": {
Expand Down
9 changes: 3 additions & 6 deletions src/react/loom-app/option-bar/filter-menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ export default function FilterMenu({
onUpdate(id, { text });
}

function onCheckboxChange(id: string, text: string) {
onUpdate(id, { text });
function onCheckboxChange(id: string, value: boolean) {
onUpdate(id, { value });
}

function onDateFilterOptionChange(id: string, option: DateFilterOption) {
Expand Down Expand Up @@ -436,10 +436,7 @@ export default function FilterMenu({
<CheckboxFilterSelect
value={value}
onChange={(newValue) =>
onCheckboxChange(
id,
newValue.toString()
)
onCheckboxChange(id, newValue)
}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion src/shared/loom-state/validate-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const CheckboxConditionUnion = Union(
const CheckboxFilter = BaseFilter.extend({
type: Literal(CellType.CHECKBOX),
condition: CheckboxConditionUnion,
text: String,
value: Boolean,
});

const TagFilterConditionUnion = Union(
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,6 @@
"8.15.3": "1.4.0",
"8.15.4": "1.4.0",
"8.15.5": "1.4.0",
"8.15.6": "1.4.0"
"8.15.6": "1.4.0",
"8.15.7": "1.4.0"
}

0 comments on commit 623bcb4

Please sign in to comment.