fix: changed barcode image uploader label

This commit is contained in:
2024-11-07 08:06:34 +04:00
parent 7e7ae791be
commit a4f4d467e9

View File

@@ -64,7 +64,7 @@ const BarcodeImageDropzone: FC<Props> = (props: Props) => {
const onDrop = (files: FileWithPath[]) => {
if (!props.productId) return;
if (files.length > 1) {
notifications.error({ message: "Прикрепите одно изображение" });
notifications.error({ message: "Прикрепите один pdf файл" });
return;
}
const file = files[0];
@@ -139,8 +139,8 @@ const BarcodeImageDropzone: FC<Props> = (props: Props) => {
<Text
size="xl"
inline>
Перенесите изображение или нажмите чтоб выбрать файл
Изображение должно быть 58 х 40
Перенесите или нажмите чтоб выбрать файл <br/>
Pdf-файл должен содержать 1 страницу размером 58 х 40
</Text>
</div>
</Group>