By index instead of workflow ID

This commit is contained in:
space-nuko
2023-05-31 17:04:00 -05:00
parent d8ac97cb87
commit 263d62cb34
8 changed files with 83 additions and 30 deletions

View File

@@ -18,12 +18,7 @@
function onPageBeforeIn() {
workflow = $workflowState.openedWorkflows[workflowIndex-1]
if (workflow) {
$interfaceState.selectedWorkflowID = workflow.id;
}
else {
$interfaceState.selectedWorkflowID = null;
}
$interfaceState.selectedWorkflowIndex = workflowIndex
$interfaceState.showingWorkflow = true;
}