Skip to content

Commit 826069a

Browse files
committed
fix bug
1 parent 0bf3afe commit 826069a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/components/floating-profile/FloatingProfile.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -576,20 +576,20 @@ const DesktopProfileFlyout = (props: {
576576
);
577577
}}
578578
</For>
579-
</div>
580-
<Show
581-
when={serverMembers.hasPermission(
582-
accountMember()!,
583-
ROLE_PERMISSIONS.MANAGE_ROLES
584-
)}
585-
>
586-
<div
587-
class={classNames(styles.roleContainer, styles.selectable)}
588-
onClick={showRoleModal}
579+
<Show
580+
when={serverMembers.hasPermission(
581+
accountMember()!,
582+
ROLE_PERMISSIONS.MANAGE_ROLES
583+
)}
589584
>
590-
<Icon name="add" size={14} />
591-
</div>
592-
</Show>
585+
<div
586+
class={classNames(styles.roleContainer, styles.selectable)}
587+
onClick={showRoleModal}
588+
>
589+
<Icon name="add" size={14} />
590+
</div>
591+
</Show>
592+
</div>
593593
</div>
594594
</Show>
595595

0 commit comments

Comments
 (0)