Commit 30839c8
committed
Fix selection when workspace name collides
This can happen if multiple users are using the same name for their
workspaces.
Turns out we can just match the workspace ID.
It hardly seems worth a test to see that a == is working, so I did not
bother to update it.1 parent 0f66e3e commit 30839c8
File tree
3 files changed
+13
-65
lines changed- src
- main/kotlin/com/coder/gateway
- models
- views/steps
- test/kotlin/com/coder/gateway/views/steps
3 files changed
+13
-65
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
992 | | - | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
993 | 1000 | | |
994 | 1001 | | |
995 | 1002 | | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
1004 | 1006 | | |
1005 | 1007 | | |
Lines changed: 0 additions & 55 deletions
This file was deleted.
0 commit comments