mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
Bug : Inbox Filter indicator is removed when a conversation is selected (#535)
This commit is contained in:
committed by
GitHub
parent
bc884ae184
commit
330bf87f08
@@ -4,3 +4,10 @@ export const frontendURL = (path, params) => {
|
||||
const stringifiedParams = params ? `?${queryString.stringify(params)}` : '';
|
||||
return `/app/${path}${stringifiedParams}`;
|
||||
};
|
||||
|
||||
export const conversationUrl = (activeInbox, id) => {
|
||||
const path = activeInbox
|
||||
? `inbox/${activeInbox}/conversations/${id}`
|
||||
: `conversations/${id}`;
|
||||
return path;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user