File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/pages/cipp/integrations Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,14 @@ const Page = () => {
101
101
backButtonTitle = "Integrations"
102
102
headerText = { extension . headerText }
103
103
hideTitleText = { true }
104
- headerImage = { logo }
105
104
>
106
105
< CardContent sx = { { pb : 0 , mb : 0 } } >
107
106
{ logo && (
108
107
< Box
109
108
component = "img"
110
109
src = { logo }
111
110
alt = { extension . name }
112
- sx = { { width : "50%" , mx : "auto" } }
111
+ sx = { { maxWidth : "50%" , mx : "auto" , maxHeight : "125px " } }
113
112
/>
114
113
) }
115
114
< Typography variant = "body2" paragraph style = { { marginTop : "1em" } } >
@@ -187,6 +186,7 @@ const Page = () => {
187
186
< Tab label = "Settings" { ...tabProps ( 0 ) } />
188
187
{ extension ?. mappingRequired && < Tab label = "Tenant Mapping" { ...tabProps ( 1 ) } /> }
189
188
{ extension ?. fieldMapping && < Tab label = "Field Mapping" { ...tabProps ( 2 ) } /> }
189
+ { extension ?. id === "cippapi" && < Tab label = "API Clients" { ...tabProps ( 3 ) } /> }
190
190
</ Tabs >
191
191
</ Box >
192
192
< CippCardTabPanel value = { value } index = { 0 } >
@@ -202,6 +202,11 @@ const Page = () => {
202
202
< CippIntegrationFieldMapping />
203
203
</ CippCardTabPanel >
204
204
) }
205
+ { extension ?. id === "cippapi" && (
206
+ < CippCardTabPanel value = { value } index = { 3 } >
207
+ API Client component to go here
208
+ </ CippCardTabPanel >
209
+ ) }
205
210
</ Box >
206
211
</ CippPageCard >
207
212
) }
You can’t perform that action at this time.
0 commit comments