Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit 623bcb4

Browse files
authored
Merge pull request #900 from trey-wallis/dev
8.15.7
2 parents ba70961 + f7d3bf7 commit 623bcb4

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"fundingUrl": {
1010
"Buymeacoffee": "https://www.buymeacoffee.com/treywallis"
1111
},
12-
"version": "8.15.6"
12+
"version": "8.15.7"
1313
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-dataloom",
3-
"version": "8.15.6",
3+
"version": "8.15.7",
44
"description": "Weave together data from diverse sources into different views. Inspired by Excel Spreadsheets and Notion.so.",
55
"main": "main.js",
66
"scripts": {

src/react/loom-app/option-bar/filter-menu/index.tsx

+3-6
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ export default function FilterMenu({
304304
onUpdate(id, { text });
305305
}
306306

307-
function onCheckboxChange(id: string, text: string) {
308-
onUpdate(id, { text });
307+
function onCheckboxChange(id: string, value: boolean) {
308+
onUpdate(id, { value });
309309
}
310310

311311
function onDateFilterOptionChange(id: string, option: DateFilterOption) {
@@ -436,10 +436,7 @@ export default function FilterMenu({
436436
<CheckboxFilterSelect
437437
value={value}
438438
onChange={(newValue) =>
439-
onCheckboxChange(
440-
id,
441-
newValue.toString()
442-
)
439+
onCheckboxChange(id, newValue)
443440
}
444441
/>
445442
);

src/shared/loom-state/validate-state.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const CheckboxConditionUnion = Union(
223223
const CheckboxFilter = BaseFilter.extend({
224224
type: Literal(CellType.CHECKBOX),
225225
condition: CheckboxConditionUnion,
226-
text: String,
226+
value: Boolean,
227227
});
228228

229229
const TagFilterConditionUnion = Union(

versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,6 @@
155155
"8.15.3": "1.4.0",
156156
"8.15.4": "1.4.0",
157157
"8.15.5": "1.4.0",
158-
"8.15.6": "1.4.0"
158+
"8.15.6": "1.4.0",
159+
"8.15.7": "1.4.0"
159160
}

0 commit comments

Comments
 (0)