Repository navigation
Commit ee3081e
fix(web): read live route send state in the restore-prompt toast
The "Restore prompt" toast stays open after its send settles. Once the
route goes idle its send state is dropped, so the toast's in-flight check
read the dropped object and missed a newer send on the same draft. Look
up the route's current state instead, as the shared object did before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 71b83c9 commit ee3081e
3 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
2070 | 2071 | | |
2071 | 2072 | | |
2072 | 2073 | | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
2073 | 2089 | | |
2074 | 2090 | | |
2075 | 2091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1016 | 1021 | | |
1017 | 1022 | | |
1018 | 1023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
7000 | 7001 | | |
7001 | 7002 | | |
7002 | 7003 | | |
7003 | | - | |
| 7004 | + | |
7004 | 7005 | | |
7005 | 7006 | | |
7006 | 7007 | | |
| |||
0 commit comments