Commit 5743f4b
committed
Fix: Detect workspace renames in sortedWorkspacesByProject
The comparison function only checked workspace IDs, so when a
workspace was renamed (ID stays same, name changes), it didn't
detect the change and the UI didn't update.
Now checks both id and name to properly detect renames.1 parent 5ee146e commit 5743f4b
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
364 | 367 | | |
365 | 368 | | |
366 | 369 | | |
| |||
0 commit comments