work on dashboard 2

This commit is contained in:
mbecker20
2024-05-17 01:35:34 -07:00
parent e96b676366
commit c9d65300c9
21 changed files with 529 additions and 114 deletions

View File

@@ -63,7 +63,7 @@ export function version_is_none({ major, minor, patch }: Types.Version) {
export function resource_name(type: UsableResource, id: string) {
const Components = ResourceComponents[type];
return Components.name(id);
return Components.list_item(id)?.name;
}
export const level_to_number = (level: Types.PermissionLevel | undefined) => {