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[]) => {
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user