We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5e1b99 commit adbe9a9Copy full SHA for adbe9a9
src/components/shared/wizard/SelectContainer.tsx
@@ -252,8 +252,9 @@ const SelectContainer = ({
252
onChange={(e) => handleChangeRemove(e)}
253
value={markedForRemoval}
254
>
255
-{/* @ts-expect-error TS(7006): Parameter 'item' implicitly has an 'any' type. */}
256
- {selectedItems.map((item, key) => (
+ {/* Show assigned users or directly assigned roles*/}
+ {/* @ts-expect-error TS(7006): Parameter 'item' implicitly has an 'any' type. */}
257
+ {selectedItems.filter((item) => (!'type' in item || item.type !== "DERIVED")).map((item, key) => (
258
<option key={key} value={item.name}>
259
{item.name}
260
</option>
0 commit comments