mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
interface: replace icons for group settings
This commit is contained in:
parent
ae059bfb4b
commit
ac47cd4594
@ -40,8 +40,8 @@ export function GroupSettings(props: GroupSettingsProps) {
|
||||
const { metadata } = association;
|
||||
const currentPrivate = "invite" in props.group.policy;
|
||||
const initialValues: FormSchema = {
|
||||
name: metadata.title,
|
||||
description: metadata.description,
|
||||
name: metadata?.title,
|
||||
description: metadata?.description,
|
||||
isPrivate: currentPrivate,
|
||||
};
|
||||
|
||||
|
@ -127,7 +127,7 @@ export function GroupSwitcher(props: {
|
||||
<Icon
|
||||
mr={2}
|
||||
color="gray"
|
||||
icon="Circle"
|
||||
icon="Node"
|
||||
/>
|
||||
<Text> Participants</Text>
|
||||
</GroupSwitcherItem>
|
||||
@ -156,7 +156,7 @@ export function GroupSwitcher(props: {
|
||||
<Box mr={1} flex='1'>
|
||||
<Text overflow='hidden' display='inline-block' maxWidth='144px' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre'}}>{title}</Text>
|
||||
</Box>
|
||||
<Icon mt="0px" display="block" icon="ChevronSouth" />
|
||||
<Icon size='12px' ml='1' mt="0px" display="inline-block" icon="ChevronSouth" />
|
||||
</Box>
|
||||
</Dropdown>
|
||||
<Row collapse pr={1} justifyContent="flex-end" alignItems="center">
|
||||
|
@ -25,7 +25,7 @@ const SidebarItem = ({ selected, icon, text, to }) => {
|
||||
px={3}
|
||||
py={1}
|
||||
>
|
||||
<Icon icon={icon} />
|
||||
<Icon icon={icon} mr='2'/>
|
||||
<Text color={selected ? "black" : "gray"}>{text}</Text>
|
||||
</HoverBoxLink>
|
||||
);
|
||||
@ -90,19 +90,19 @@ export function PopoverRoutes(
|
||||
borderRightColor="washedGray"
|
||||
>
|
||||
<SidebarItem
|
||||
icon="Circle"
|
||||
icon="Node"
|
||||
selected={view === "participants"}
|
||||
to={relativeUrl("/participants")}
|
||||
text="Participants"
|
||||
/>
|
||||
<SidebarItem
|
||||
icon="Circle"
|
||||
icon="Gear"
|
||||
selected={view === "settings"}
|
||||
to={relativeUrl("/settings")}
|
||||
text="Group Settings"
|
||||
/>
|
||||
<SidebarItem
|
||||
icon="Circle"
|
||||
icon="Smiley"
|
||||
selected={view === "profile"}
|
||||
to={relativeUrl("/profile")}
|
||||
text="Group Profile"
|
||||
|
Loading…
Reference in New Issue
Block a user