Disable shipping dialog confirm button when no items selected (#1304)
This commit is contained in:
parent
08637b27fd
commit
3194654bf1
4 changed files with 8 additions and 3 deletions
|
@ -47,6 +47,8 @@ All notable, unreleased changes to this project will be documented in this file.
|
|||
- Add service worker - #1073 by @dominik-zeglen
|
||||
- Choosing user shipping and billing addresses for draft order - #1082 by @orzechdev
|
||||
- Fix EditorJS inline formatting - #1096 by @orzechdev
|
||||
- Add product / page delete warning - #1095 by @mmarkusik
|
||||
- Channels per plugin - #1093 by @mmarkusik
|
||||
- Add pagination on attribute values - #1112 by @orzechdev
|
||||
- Paginate attribute values in filters - #1152 by @orzechdev
|
||||
- Fix attribute values input display - #1156 by @orzechdev
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "saleor-dashboard",
|
||||
"version": "3.1.0-a.0",
|
||||
"version": "3.0.0-b.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "saleor-dashboard",
|
||||
"version": "3.1.0-a.0",
|
||||
"version": "3.0.0-b.11",
|
||||
"main": "src/index.tsx",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -42,7 +42,9 @@ const useStyles = makeStyles(
|
|||
},
|
||||
root: {
|
||||
overflowY: "visible",
|
||||
width: theme.breakpoints.values.sm
|
||||
width: theme.breakpoints.values.sm,
|
||||
margin: 0,
|
||||
padding: theme.spacing(3)
|
||||
},
|
||||
shippingMethodName: {
|
||||
flex: 1,
|
||||
|
@ -139,6 +141,7 @@ const OrderShippingMethodEditDialog: React.FC<OrderShippingMethodEditDialogProps
|
|||
color="primary"
|
||||
variant="contained"
|
||||
type="submit"
|
||||
disabled={!data.shippingMethod}
|
||||
>
|
||||
<FormattedMessage {...buttonMessages.confirm} />
|
||||
</ConfirmButton>
|
||||
|
|
Loading…
Reference in a new issue