Merge branch 'master' into fix/product-type-search
This commit is contained in:
commit
a36487e947
3 changed files with 10 additions and 1 deletions
|
@ -28,3 +28,4 @@ All notable, unreleased changes to this project will be documented in this file.
|
|||
- Add testcafe tags to attributes, categories, collections and product types - #178 by @dominik-zeglen
|
||||
- Fix input error style - #183 by @benekex2
|
||||
- Fix product type selection - #189 by @dominik-zeglen
|
||||
- Fix staff return link - #190 by @dominik-zeglen
|
||||
|
|
|
@ -151,7 +151,7 @@ const ShippingZoneDetailsDialogs: React.StatelessComponent<
|
|||
name: formData.name,
|
||||
price: formData.isFree ? 0 : parseFloat(formData.price),
|
||||
shippingZone: id,
|
||||
type: ShippingMethodTypeEnum.PRICE
|
||||
type: params.type
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import React from "react";
|
||||
import urlJoin from "url-join";
|
||||
|
||||
import useListSettings from "@saleor/hooks/useListSettings";
|
||||
import useNavigator from "@saleor/hooks/useNavigator";
|
||||
|
@ -8,10 +9,12 @@ import usePaginator, {
|
|||
} from "@saleor/hooks/usePaginator";
|
||||
import { useIntl } from "react-intl";
|
||||
|
||||
import { newPasswordUrl } from "@saleor/auth/urls";
|
||||
import DeleteFilterTabDialog from "@saleor/components/DeleteFilterTabDialog";
|
||||
import SaveFilterTabDialog, {
|
||||
SaveFilterTabDialogFormData
|
||||
} from "@saleor/components/SaveFilterTabDialog";
|
||||
import { APP_MOUNT_URI } from "@saleor/config";
|
||||
import { configurationMenuUrl } from "@saleor/configuration";
|
||||
import { commonMessages } from "@saleor/intl";
|
||||
import { getMutationState, maybe } from "@saleor/misc";
|
||||
|
@ -146,6 +149,11 @@ export const StaffList: React.StatelessComponent<StaffListProps> = ({
|
|||
permissions: variables.fullAccess
|
||||
? data.shop.permissions.map(perm => perm.code)
|
||||
: undefined,
|
||||
redirectUrl: urlJoin(
|
||||
window.location.origin,
|
||||
APP_MOUNT_URI === "/" ? "" : APP_MOUNT_URI,
|
||||
newPasswordUrl().replace(/\?/, "")
|
||||
),
|
||||
sendPasswordEmail: true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue