chore: Fix translations breaking the chat filter (#3374)

fixes: #2552
This commit is contained in:
Sojan Jose
2021-11-13 11:45:18 +05:30
committed by GitHub
parent e011b4566b
commit 987c8f5c7c
2 changed files with 14 additions and 18 deletions

View File

@@ -1,11 +1,11 @@
<template>
<select v-model="activeStatus" class="status--filter" @change="onTabChange()">
<option
v-for="item in $t('CHAT_LIST.CHAT_STATUS_ITEMS')"
:key="item['VALUE']"
:value="item['VALUE']"
v-for="(value, status) in $t('CHAT_LIST.CHAT_STATUS_FILTER_ITEMS')"
:key="status"
:value="status"
>
{{ item['TEXT'] }}
{{ value['TEXT'] }}
</option>
<option value="all">
{{ $t('CHAT_LIST.FILTER_ALL') }}