'use client' import { SDK_FLOW_STEPS } from '../flow-data' import { completionColor, completionLabel } from './helpers' export function BetriebOverviewPanel() { const betriebWithCompletion = SDK_FLOW_STEPS.filter( s => s.package === 'betrieb' && s.completion !== undefined ).sort((a, b) => (b.completion ?? 0) - (a.completion ?? 0)) const avg = Math.round( betriebWithCompletion.reduce((sum, s) => sum + (s.completion ?? 0), 0) / betriebWithCompletion.length ) return (
{betriebWithCompletion.length} Module bewertet · Academy & Training ausgeschlossen