Skip to content

Commit eaaf4ba

Browse files
authored
feat: Resize after loading (#2)
2 parents 7fb93d7 + cf53129 commit eaaf4ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/HealthChecks.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const HealthChecks = () => {
9393
.request(options)
9494
.then((response: HealthCheckResult) => {
9595
setLoading(false)
96+
client.invoke('resize', { width: '100%', height: '75vh' })
9697
setResult(response?.results ?? [])
9798
resetApiError()
9899
})

src/app/components/ControlForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ControlForm = ({ checkFn, setSerialNo, serialNo }: ControlFormProps) => {
4343
onChange={handleIdChange}
4444
validation={inputValidationResult}
4545
/>
46-
<Button isPrimary onClick={checkFn} disabled={!!inputValidationResult}>
46+
<Button onClick={checkFn} disabled={!!inputValidationResult}>
4747
{t('ticket_sidebar.button')}
4848
</Button>
4949
</InputGroup>

0 commit comments

Comments
 (0)