mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
fixes
This commit is contained in:
parent
bf27a4f566
commit
0e516e4ce4
@ -56,6 +56,7 @@ export const AnnouncementList = ({
|
||||
return (
|
||||
|
||||
<div
|
||||
key={message?.identifier}
|
||||
style={{
|
||||
marginBottom: "10px",
|
||||
width: "100%",
|
||||
|
@ -1438,10 +1438,10 @@ export const Group = ({
|
||||
setChatMode((prev) =>
|
||||
prev === "directs" ? "groups" : "directs"
|
||||
);
|
||||
// setNewChat(false);
|
||||
// setSelectedDirect(null);
|
||||
// setSelectedGroup(null);
|
||||
// setGroupSection("default");
|
||||
|
||||
}}
|
||||
sx={{
|
||||
backgroundColor: chatMode === 'directs' && ( groupChatHasUnread || groupsAnnHasUnread) ? 'red' : 'revert'
|
||||
}}
|
||||
>
|
||||
{chatMode === "groups" && (
|
||||
@ -1453,6 +1453,7 @@ export const Group = ({
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
{chatMode === "directs" ? "Switch to groups" : "Direct msgs"}
|
||||
</CustomButton>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user