rename to getLookAndColorFromUserStatus

This commit is contained in:
Niels Lyngsø
2023-01-25 12:54:58 +01:00
parent ca11ee076e
commit 2a6d7f66e2
5 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import { InterfaceColor, InterfaceLook } from '@umbraco-ui/uui-base/lib/types';
import type { UserStatus } from '@umbraco-cms/models';
export const getTagLookAndColor = (status: UserStatus): { look: InterfaceLook; color: InterfaceColor } => {
export const getLookAndColorFromUserStatus = (status: UserStatus): { look: InterfaceLook; color: InterfaceColor } => {
switch ((status || '').toLowerCase()) {
case 'invited':
case 'inactive':