Skip to content

Commit

Permalink
fixed dropdown in pipeline editor
Browse files Browse the repository at this point in the history
  • Loading branch information
andrptrc committed Jun 19, 2024
1 parent 3f001d3 commit ab5f326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/ItemGrid/ItemGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const ItemGrid: React.FC<{
<Select
labelId={"services-per-page-label"}
id={"services-per-page"}
value={servicesPerPage}
value={paginationOptions.includes(servicesPerPage) ? servicesPerPage : paginationOptions[0]}
label={"Per page"}
onChange={(event) => {
setServicesPerPage(event.target.value as number);
Expand Down Expand Up @@ -146,7 +146,7 @@ const ItemGrid: React.FC<{
<Select
labelId={"pipelines-per-page"}
id={"pipelines-per-page"}
value={pipelinesPerPage}
value={paginationOptions.includes(pipelinesPerPage) ? pipelinesPerPage : paginationOptions[0]}
label={"Per page"}
onChange={(event) => {
setPipelinesPerPage(event.target.value as number);
Expand Down
1 change: 0 additions & 1 deletion frontend/src/enums/tagEnums.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ export const Tags = [
"backgroundColor": "rgba(0, 0, 255, 0.2)",
"color": "rgba(0, 0, 255, 1)",
"borderColor": "rgba(0, 0, 255, 1)"

}
}
];
Expand Down

0 comments on commit ab5f326

Please sign in to comment.