mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix Select component not reacting to changed list (#2885)
* Fix Select component not reacting to changed list Fixes #2882. * Add msys to path on Windows in VSC settings
This commit is contained in:
parent
6f3550464d
commit
c11e40b11b
3 changed files with 10 additions and 2 deletions
|
@ -35,5 +35,8 @@
|
||||||
"qt/bundle/PyOxidizer": true
|
"qt/bundle/PyOxidizer": true
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.buildScripts.enable": true,
|
"rust-analyzer.cargo.buildScripts.enable": true,
|
||||||
"python.analysis.typeCheckingMode": "off"
|
"python.analysis.typeCheckingMode": "off",
|
||||||
|
"terminal.integrated.env.windows": {
|
||||||
|
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
],
|
],
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": "bash",
|
"command": "bash",
|
||||||
|
"options": {
|
||||||
|
"env": {
|
||||||
|
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
|
||||||
|
}
|
||||||
|
},
|
||||||
"args": [
|
"args": [
|
||||||
"ninja",
|
"ninja",
|
||||||
"pylib",
|
"pylib",
|
||||||
|
|
|
@ -37,7 +37,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
content: item as unknown as C,
|
content: item as unknown as C,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
const parsed = list
|
$: parsed = list
|
||||||
.map(parser)
|
.map(parser)
|
||||||
.map(({ content, value: initialValue, disabled = false }, i) => {
|
.map(({ content, value: initialValue, disabled = false }, i) => {
|
||||||
if ((initialValue === undefined && i === value) || initialValue === value) {
|
if ((initialValue === undefined && i === value) || initialValue === value) {
|
||||||
|
|
Loading…
Reference in a new issue