Fix dropdown values for custom attributes
This commit is contained in:
parent
a0f05101ad
commit
2ffc7d4607
1 changed files with 2 additions and 3 deletions
|
@ -352,8 +352,8 @@ export default {
|
|||
getConditionDropdownValues(type) {
|
||||
const statusFilters = this.$t('CHAT_LIST.CHAT_STATUS_FILTER_ITEMS');
|
||||
const allCustomAttributes = this.$store.getters[
|
||||
'attributes/getAttributesByModel'
|
||||
](this.attributeModel);
|
||||
'attributes/getAttributes'
|
||||
];
|
||||
|
||||
const isCustomAttributeCheckbox = allCustomAttributes.find(attr => {
|
||||
return (
|
||||
|
@ -361,7 +361,6 @@ export default {
|
|||
attr.attribute_display_type === 'checkbox'
|
||||
);
|
||||
});
|
||||
|
||||
if (isCustomAttributeCheckbox) {
|
||||
return [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue