Skip to content

Commit

Permalink
fixed SRS selector
Browse files Browse the repository at this point in the history
  • Loading branch information
SteRiccio committed Sep 9, 2024
1 parent 1bdeb37 commit f9d2f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useRejectSelectedItems = () =>
}
return async (searchValue) => {
const itemsRes = await items(searchValue)
const itemsArray = Object.values(itemsRes?.data?.items ?? {})
const itemsArray = Array.isArray(itemsRes) ? itemsRes : Object.values(itemsRes?.data?.items ?? {})
return itemsArray.filter(removeSelectedItems)
}
}, [])
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.srs_editor__input_chips {
.srs_editor__input_chips.form-input-chip {
.dropdown-wrapper,
.dropdown {
width: 20rem;
Expand Down

0 comments on commit f9d2f7e

Please sign in to comment.