Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 12, 2025
1 parent 625974e commit adf719a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/CippComponents/CippApiResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export const CippApiResults = (props) => {
))}
</>
)}
{(apiObject.isSuccess || apiObject.isError) && finalResults.length > 0 ? (
{(apiObject.isSuccess || apiObject.isError) && finalResults?.length > 0 ? (
<Box display="flex" flexDirection="row">
<Tooltip title="View Results">
<IconButton onClick={() => tableDialog.handleOpen()}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/CippComponents/CippAutocomplete.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export const CippAutoComplete = (props) => {
sx={sx}
renderInput={(params) => (
<Stack direction="row" spacing={1}>
<MemoTextField params={params} label={label} placeholder={placeholder} required= {...other} />
<MemoTextField params={params} label={label} placeholder={placeholder} required={required} {...other} />
{api?.url && api?.showRefresh && (
<IconButton
size="small"
Expand Down
2 changes: 1 addition & 1 deletion src/components/CippTable/CippGraphExplorerFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ const CippGraphExplorerFilter = ({
if (presetName) onPresetChange(presetName);
}
onSubmitFilter(values);
setCardExpanded(!cardExpanded);
setCardExpanded(false);
};

console.log(cardExpanded);
Expand Down

0 comments on commit adf719a

Please sign in to comment.