MCPcopy Create free account
hub / github.com/ShipSecAI/studio / saveOrder

Function saveOrder

frontend/src/pages/WorkflowList.tsx:62–64  ·  view source on GitHub ↗
(ids: string[])

Source from the content-addressed store, hash-verified

60}
61
62function saveOrder(ids: string[]) {
63 localStorage.setItem(WORKFLOW_ORDER_KEY, JSON.stringify(ids));
64}
65
66function applyOrder<T extends { id: string }>(items: T[], savedOrder: string[]): T[] {
67 if (savedOrder.length === 0) return items;

Callers 1

WorkflowListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected