Shared: Selector: Added original icon size at TSelectorItemLogo
This commit is contained in:
parent
16350b4d50
commit
6fef4648b9
@ -391,24 +391,27 @@ export type FooterProps = TSelectorFooterSubmitButton &
|
||||
|
||||
type TSelectorItemLogo =
|
||||
| {
|
||||
color?: undefined;
|
||||
icon?: undefined;
|
||||
avatar: string;
|
||||
role?: AvatarRole;
|
||||
color?: undefined;
|
||||
hasAvatar?: boolean;
|
||||
icon?: undefined;
|
||||
iconOriginal?: string;
|
||||
role?: AvatarRole;
|
||||
}
|
||||
| {
|
||||
hasAvatar?: undefined;
|
||||
color: string;
|
||||
icon?: undefined;
|
||||
avatar?: undefined;
|
||||
color: string;
|
||||
hasAvatar?: undefined;
|
||||
icon?: undefined;
|
||||
iconOriginal?: string;
|
||||
role?: undefined;
|
||||
}
|
||||
| {
|
||||
hasAvatar?: undefined;
|
||||
color?: undefined;
|
||||
icon: string;
|
||||
avatar?: undefined;
|
||||
color?: undefined;
|
||||
hasAvatar?: undefined;
|
||||
icon: string;
|
||||
iconOriginal: string;
|
||||
role?: undefined;
|
||||
};
|
||||
|
||||
|
@ -31,9 +31,10 @@ export const convertToItems = (folders: TRoom[]) => {
|
||||
const { id, title, roomType, logo, shared } = folder;
|
||||
|
||||
const icon = logo.medium;
|
||||
const iconOriginal = logo.original;
|
||||
const color = logo.color;
|
||||
|
||||
return { id, label: title, icon, color, roomType, shared };
|
||||
return { id, label: title, icon, iconOriginal, color, roomType, shared };
|
||||
});
|
||||
|
||||
return items;
|
||||
|
Loading…
Reference in New Issue
Block a user