fix(portal-shell): 管理域 UI 规范合规与 TypeScript 修复
- 替换 41 处原生 select 为 Select 组件封装 - 替换 5 处 window.confirm 为 shadcn AlertDialog - 修复 lesson-plans delete-confirm-dialog 为 AlertDialog - 修复 5 处 Tailwind 任意值 text-[10px] - 修复 graphql-data.ts mutation case 缺少 id 定义 - 修复 use-position-persistence.ts eslint 规则引用
This commit is contained in:
@@ -63,7 +63,7 @@ export function formatProviderVisibility(visibility: string): string {
|
||||
*/
|
||||
export function activeToBadgeClass(isActive: boolean): string {
|
||||
return isActive
|
||||
? "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
|
||||
? "bg-success/10 text-success"
|
||||
: "bg-muted text-muted-foreground";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user