Skip to content

Commit

Permalink
Merge pull request #152 from mercedes-benz/VULCAN-1947/CreateRupsPack…
Browse files Browse the repository at this point in the history
…agesBug

hotfixes
  • Loading branch information
anayabhat authored Nov 21, 2024
2 parents f20b60f + 6f80ea0 commit 9f7c856
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/chart/table/TableChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,11 @@ export const NeoTableChart = (props: ChartProps) => {

const apiCallButton = () => (
<Stack direction='row' spacing={2} justifyContent='flex-end' marginRight={2}>
<Button variant='outlined' size='small' onClick={handleApiCall} disabled={isApiLoading}>
{isApiLoading ? 'Loading...' : props.settings?.sendRequestButtonName || 'send'}
</Button>
{!props.settings?.apiSpec.response && (
<Button variant='outlined' size='small' onClick={handleApiCall} disabled={isApiLoading}>
{isApiLoading ? 'Loading...' : props.settings?.sendRequestButtonName || 'send'}
</Button>
)}
{props.settings?.apiSpec.response && (
<Button
size='small'
Expand Down

0 comments on commit 9f7c856

Please sign in to comment.