Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Remove multiselect from activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-OP committed Mar 3, 2024
1 parent 42adea8 commit e8e83fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Frontend/src/features/createActivity/ui/CreateActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,11 @@ const CreateActivity: FC<ModalData> = ({ open, hideModal }) => {
<div style={{ display: "flex", gap: 40 }}>
<Form.Item
style={{ width: "100%" }}
name={"subjectIds"}
label={"Предмети"}
name={"subjectId"}
label={"Предмет"}
>
<Select
style={{ width: "100%" }}
mode='multiple'
allowClear
loading={groupsLoading}
options={subjects.map(subj => ({
value: subj.id,
Expand Down

0 comments on commit e8e83fe

Please sign in to comment.