feat: add workflow run origin

This commit is contained in:
BennyKok committed 2023-12-19 12:30:52 +08:00
1 parent 39dd760ba0
commit 8f67a136c3
6 files changed
+659 -17

No files matched your search

+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);