Skip to content

Commit

Permalink
Remove regions.length circular progress inside of the refnameautocomp…
Browse files Browse the repository at this point in the history
…lete adornment
  • Loading branch information
cmdcolin committed Feb 24, 2023
1 parent 1b5cd46 commit 4ee3b4d
Showing 1 changed file with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,21 +244,17 @@ function RefNameAutocomplete({

endAdornment: (
<>
{!loaded ? (
<CircularProgress color="inherit" size={20} />
) : (
<InputAdornment position="end" style={{ marginRight: 7 }}>
<SearchIcon fontSize="small" />
{showHelp ? (
<IconButton
onClick={() => setHelpDialogDisplayed(true)}
size="small"
>
<HelpIcon fontSize="small" />
</IconButton>
) : null}
</InputAdornment>
)}
<InputAdornment position="end" style={{ marginRight: 7 }}>
<SearchIcon fontSize="small" />
{showHelp ? (
<IconButton
onClick={() => setHelpDialogDisplayed(true)}
size="small"
>
<HelpIcon fontSize="small" />
</IconButton>
) : null}
</InputAdornment>
{params.InputProps.endAdornment}
</>
),
Expand Down

0 comments on commit 4ee3b4d

Please sign in to comment.