File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 8
8
Checkbox ,
9
9
Container ,
10
10
CopyButton ,
11
+ Drawer ,
11
12
Flex ,
12
13
Group ,
13
14
Modal ,
@@ -338,11 +339,16 @@ const DisplayIntegration = (props: {
338
339
339
340
const integrationUrl = `${ applicationBaseUrl } /_i/${ props . integration . id } ` ;
340
341
342
+ const integrationDisplayName = [
343
+ changeCase ( props . integration . provider ) ,
344
+ props . integration . name ,
345
+ ]
346
+ . filter ( Boolean )
347
+ . join ( " - " ) ;
348
+
341
349
const firstRow = [
342
350
< Text size = "sm" fw = "bold" key = "name" >
343
- { [ changeCase ( props . integration . provider ) , props . integration . name ]
344
- . filter ( Boolean )
345
- . join ( " - " ) }
351
+ { integrationDisplayName }
346
352
</ Text > ,
347
353
props . integration . isDisabled ? (
348
354
< Text size = "sm" key = "isPaused" >
@@ -373,13 +379,13 @@ const DisplayIntegration = (props: {
373
379
374
380
return (
375
381
< >
376
- < Modal
377
- withCloseButton = { false }
382
+ < Drawer
378
383
opened = { integrationTriggerResultOpened }
384
+ title = { `Logs for ${ integrationDisplayName } ` }
379
385
onClose = { ( ) => integrationTriggerResultToggle ( ) }
380
386
>
381
387
< Table data = { tableData } />
382
- </ Modal >
388
+ </ Drawer >
383
389
< Paper p = "xs" withBorder >
384
390
< Stack ref = { parent } >
385
391
< Flex align = "center" justify = "space-between" >
You can’t perform that action at this time.
0 commit comments