added product type to backend call to get product-based configuration when adding to history of action
This commit is contained in:
parent
612554bc05
commit
fcb3031a83
|
|
@ -169,7 +169,7 @@ function Configuration(props: ConfigurationProps) {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
const res = await axiosConfig
|
const res = await axiosConfig
|
||||||
.post(
|
.post(
|
||||||
`/EditInstallationConfig?installationId=${props.id}`,
|
`/EditInstallationConfig?installationId=${props.id}&product=${product}`,
|
||||||
configurationToSend
|
configurationToSend
|
||||||
)
|
)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ function SodistoreHomeConfiguration(props: SodistoreHomeConfigurationProps) {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
const res = await axiosConfig
|
const res = await axiosConfig
|
||||||
.post(
|
.post(
|
||||||
`/EditInstallationConfig?installationId=${props.id}`,
|
`/EditInstallationConfig?installationId=${props.id}&product=${product}`,
|
||||||
configurationToSend
|
configurationToSend
|
||||||
)
|
)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue