MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / getColorByLevel

Function getColorByLevel

frontend/src/hooks/useOperationLog.ts:161–163  ·  view source on GitHub ↗
(level: OperationLoggerItem["operation_level"])

Source from the content-addressed store, hash-verified

159 };
160
161 const getColorByLevel = (level: OperationLoggerItem["operation_level"]) => {
162 return levelColors[level] ?? levelColors.unknown;
163 };
164
165 const formattedLogs = computed(() => {
166 return logs.value.map((item) => {

Callers 1

useOperationLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected