mirror of
https://github.com/willchen96/mike.git
synced 2026-06-22 21:28:07 +02:00
Modal, header, mobile display and workflow UI updates
This commit is contained in:
parent
8a2dc05181
commit
3132e04ac0
34 changed files with 1635 additions and 1076 deletions
7
frontend/src/app/components/workflows/workflowRoutes.ts
Normal file
7
frontend/src/app/components/workflows/workflowRoutes.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import type { Workflow } from "../shared/types";
|
||||
|
||||
export function workflowDetailPath(workflow: Pick<Workflow, "id" | "type">) {
|
||||
return workflow.type === "assistant"
|
||||
? `/workflows/assistant/${workflow.id}`
|
||||
: `/workflows/tabular-review/${workflow.id}`;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue