MCPcopy Create free account
hub / github.com/bytebase/bytebase / isTaskActive

Function isTaskActive

frontend/src/react/components/Quickstart.tsx:250–255  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

248 }, [introList]);
249
250 const isTaskActive = (index: number) => {
251 for (let i = index - 1; i >= 0; i--) {
252 if (!introList[i].done) return false;
253 }
254 return !introList[index].done;
255 };
256
257 const percent = useMemo(() => {
258 const total = introList.length;

Callers 1

QuickstartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected