File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
site/src/pages/GroupsPage Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export const GroupPage: React.FC = () => {
124
124
< Button startIcon = { < SettingsOutlined /> } > Settings</ Button >
125
125
</ Link >
126
126
< Button
127
- disabled = { group ?. id == group ?. organization_id }
127
+ disabled = { group ?. id === group ?. organization_id }
128
128
onClick = { ( ) => {
129
129
send ( "DELETE" )
130
130
} }
@@ -151,7 +151,7 @@ export const GroupPage: React.FC = () => {
151
151
condition = {
152
152
canUpdateGroup &&
153
153
group !== undefined &&
154
- group ?. id != group ?. organization_id
154
+ group ?. id !== group ?. organization_id
155
155
}
156
156
>
157
157
< AddGroupMember
@@ -225,7 +225,7 @@ export const GroupPage: React.FC = () => {
225
225
} )
226
226
} ,
227
227
disabled :
228
- group . id == group . organization_id ,
228
+ group . id === group . organization_id ,
229
229
} ,
230
230
] }
231
231
/>
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const UpdateGroupForm: FC<{
56
56
autoFocus
57
57
fullWidth
58
58
label = "Name"
59
- disabled = { group . id == group . organization_id }
59
+ disabled = { group . id === group . organization_id }
60
60
/>
61
61
< TextField
62
62
{ ...getFieldHelpers (
@@ -68,7 +68,7 @@ const UpdateGroupForm: FC<{
68
68
autoFocus
69
69
fullWidth
70
70
label = "Display Name"
71
- disabled = { group . id == group . organization_id }
71
+ disabled = { group . id === group . organization_id }
72
72
/>
73
73
< LazyIconField
74
74
{ ...getFieldHelpers ( "avatar_url" ) }
You can’t perform that action at this time.
0 commit comments