Skip to content

Commit

Permalink
feat: reduce data transfered from client to server to fix query strin…
Browse files Browse the repository at this point in the history
…g error
  • Loading branch information
shyim committed Feb 14, 2024
1 parent 3948290 commit 6ceb839
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion frontend/src/views/account/DetailShop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,21 @@ async function onReScheduleTask(taskId: string) {
}
async function loadUpdateWizard(version: string) {
if (!shopStore.shop || !shopStore.shop.extensions) {
return;
}
loadingUpdateWizard.value = true;
const body = {
currentVersion: shopStore.shop!!.shopware_version,
futureVersion: version,
extensions: shopStore.shop!!.extensions
extensions: shopStore.shop.extensions.map((extension) => {
return {
name: extension.name,
version: extension.version,
};
}),
}
const pluginCompatibilitys = await trpcClient.info.checkExtensionCompatibility.query(body)
Expand Down

0 comments on commit 6ceb839

Please sign in to comment.