feat: add workflow run origin

This commit is contained in:
BennyKok
2023-12-19 12:30:52 +08:00
parent 39dd760ba0
commit 8f67a136c3
6 changed files with 659 additions and 17 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ export function RunWorkflowButton({
try {
const origin = window.location.origin;
await callServerPromise(
createRun(origin, workflow_version_id, machine)
createRun(origin, workflow_version_id, machine, undefined, true)
);
// console.log(res.json());
setIsLoading(false);