diff --git a/alt-api-ui/src/schedule-viewer/pickers/UniversalPicker.tsx b/alt-api-ui/src/schedule-viewer/pickers/UniversalPicker.tsx index 1a5d249..2bc504f 100644 --- a/alt-api-ui/src/schedule-viewer/pickers/UniversalPicker.tsx +++ b/alt-api-ui/src/schedule-viewer/pickers/UniversalPicker.tsx @@ -92,7 +92,7 @@ export default function UniversalPicker(props: UniversalPickerProps) { auto id={'addTutorButton'} icon={} - disabled={!formik.isValid} + disabled={!formik.isValid || (props.values.length > 0 && props.operationMode == ModeChoice.TUTOR)} onClick={() => formik.handleSubmit()} > Dodaj