Compare commits
2 Commits
3550e1fec7
...
576fc434dc
| Author | SHA1 | Date | |
|---|---|---|---|
| 576fc434dc | |||
| cfc4b8cc53 |
@@ -249,7 +249,21 @@ export const SubmitTagDistribution = ({ item, getData }: any) => {
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
<Button type="submit">{isEdit ? "ویرایش" : "ثبت"}</Button>
|
<Button
|
||||||
|
disabled={
|
||||||
|
batches.length === 0 ||
|
||||||
|
batches.some(
|
||||||
|
(b) =>
|
||||||
|
b.count === "" ||
|
||||||
|
b.count === undefined ||
|
||||||
|
b.count === null ||
|
||||||
|
Number(b.count) <= 0
|
||||||
|
)
|
||||||
|
}
|
||||||
|
type="submit"
|
||||||
|
>
|
||||||
|
{isEdit ? "ویرایش" : "ثبت"}
|
||||||
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
02.52
|
02.53
|
||||||
|
|||||||
Reference in New Issue
Block a user