File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
site/src/pages/OrganizationSettingsPage Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ const OrganizationSettingsPage: FC = () => {
58
58
const org = organizations . find ( ( org ) => org . id === currentOrganizationId ) ! ;
59
59
60
60
const error =
61
- addOrganizationMutation . error ?? deleteOrganizationMutation . error ;
61
+ updateOrganizationMutation . error ??
62
+ addOrganizationMutation . error ??
63
+ deleteOrganizationMutation . error ;
62
64
63
65
const form = useFormik < UpdateOrganizationRequest > ( {
64
66
initialValues : {
@@ -85,7 +87,7 @@ const OrganizationSettingsPage: FC = () => {
85
87
< Margins css = { { marginTop : 18 , marginBottom : 18 } } >
86
88
{ Boolean ( error ) && < ErrorAlert error = { error } /> }
87
89
88
- < PageHeader css = { { paddingTop : 0 } } >
90
+ < PageHeader css = { { paddingTop : error ? undefined : 0 } } >
89
91
< PageHeaderTitle > Organization settings</ PageHeaderTitle >
90
92
</ PageHeader >
91
93
You can’t perform that action at this time.
0 commit comments