process/create-kp: auto download kp file
This commit is contained in:
parent
5c8560e266
commit
cadfec5fc2
@ -57,6 +57,10 @@ export function action({ store, trpcClient, apolloClient }: ProcessContext) {
|
||||
message: successMessage,
|
||||
});
|
||||
|
||||
if (res.data.values.downloadKp) {
|
||||
window.open(res.data.values.downloadKp, '_blank');
|
||||
}
|
||||
|
||||
await updateSelectQuote({ apolloClient, store });
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user