Feature: Improve label experience (#975)
Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
parent
8b61452d56
commit
97ad39713b
56 changed files with 1712 additions and 284 deletions
|
@ -57,6 +57,10 @@ export default {
|
|||
|
||||
mixins: [timeMixin, conversationMixin],
|
||||
props: {
|
||||
activeLabel: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
chat: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
|
@ -116,7 +120,12 @@ export default {
|
|||
methods: {
|
||||
cardClick(chat) {
|
||||
const { activeInbox } = this;
|
||||
const path = conversationUrl(this.accountId, activeInbox, chat.id);
|
||||
const path = conversationUrl({
|
||||
accountId: this.accountId,
|
||||
activeInbox,
|
||||
id: chat.id,
|
||||
label: this.activeLabel,
|
||||
});
|
||||
router.push({ path: frontendURL(path) });
|
||||
},
|
||||
inboxName(inboxId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue