Panics · P42 Misc: handlers in new; the web view shows wry's failures; kept state fits lists that changed

This commit is contained in:
ZacharyZhang-NY committed 2026-10-07 07:17:20 -04:00
1 parent 770d13575d
commit 3a0a4bb699
20 files changed
+362 -189

No files matched your search

+2 -1
View File
@@ -134,7 +134,8 @@ impl RenderOnce for ImportDialog {
nudged: false,
}
});
if mapping.read(cx).columns != columns {
let now = mapping.read(cx);
if now.columns != columns || now.picked.len() != fields.len() {
let picked = matched(&fields, &columns);
mapping.update(cx, |mapping, _| {
*mapping = Mapping {