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