New spool color indication that supports multi colors

This commit is contained in:
Donkie
2024-06-09 19:23:43 +02:00
parent 30098e0213
commit e2df888e96
6 changed files with 46 additions and 14 deletions

View File

@@ -295,7 +295,7 @@ export function ActionsColumn<Obj extends Entity>(actionsFn: (record: Obj) => Ac
}
interface SpoolIconColumnProps<Obj extends Entity> extends FilteredQueryColumnProps<Obj> {
color: (record: Obj) => string | undefined;
color: (record: Obj) => string | string[] | undefined;
}
export function SpoolIconColumn<Obj extends Entity>(props: SpoolIconColumnProps<Obj>) {