Skip to content

Commit c11e40b

Browse files
authoredDec 10, 2023
Fix Select component not reacting to changed list (ankitects#2885)
* Fix Select component not reacting to changed list Fixes ankitects#2882. * Add msys to path on Windows in VSC settings
1 parent 6f35504 commit c11e40b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed
 

‎.vscode.dist/settings.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"qt/bundle/PyOxidizer": true
3636
},
3737
"rust-analyzer.cargo.buildScripts.enable": true,
38-
"python.analysis.typeCheckingMode": "off"
38+
"python.analysis.typeCheckingMode": "off",
39+
"terminal.integrated.env.windows": {
40+
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
41+
}
3942
}

‎.vscode.dist/tasks.json

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
],
1111
"windows": {
1212
"command": "bash",
13+
"options": {
14+
"env": {
15+
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
16+
}
17+
},
1318
"args": [
1419
"ninja",
1520
"pylib",

‎ts/components/Select.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
3737
content: item as unknown as C,
3838
};
3939
};
40-
const parsed = list
40+
$: parsed = list
4141
.map(parser)
4242
.map(({ content, value: initialValue, disabled = false }, i) => {
4343
if ((initialValue === undefined && i === value) || initialValue === value) {

0 commit comments

Comments
 (0)
Please sign in to comment.