Commit 3269fb7
Randy Coulman
feat(operator): eliminate the Remove User button (#5238)
**CLOUD ONLY**
The Remove User button on the operator Accounts page actually removes the user from an organization, not an account. When there was a 1:1 mapping between accounts and orgs, this was fine, but we are now moving into a multi-org world where this no longer makes sense.
We need to do more significant work to the operator UI to support multi-org, and this work will happen in a later phase of the project.
For now, given that there is a feature in the main part of the UI where users can remove themselves or other users from an organzation, we've decided to remove the `Remove User` button.
This is the only client of `ResourcesTableRow` that passed additional `children`, and I believe that ability was added as a bit of hack to support this one use case. Therefore, I also removed the `children` prop from `ResourcesTableRow` as dead code. Should we need it again in the future, it should be relatively easy to add back.1 parent 3792e93 commit 3269fb7
File tree
4 files changed
+3
-64
lines changed- src/operator
- account
- context
4 files changed
+3
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
| |||
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 40 | + | |
53 | 41 | | |
54 | 42 | | |
55 | 43 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| |||
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 139 | | |
165 | 140 | | |
166 | 141 | | |
| |||
171 | 146 | | |
172 | 147 | | |
173 | 148 | | |
174 | | - | |
175 | 149 | | |
176 | 150 | | |
177 | 151 | | |
| |||
0 commit comments