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) {
|
getConditionDropdownValues(type) {
|
||||||
const statusFilters = this.$t('CHAT_LIST.CHAT_STATUS_FILTER_ITEMS');
|
const statusFilters = this.$t('CHAT_LIST.CHAT_STATUS_FILTER_ITEMS');
|
||||||
const allCustomAttributes = this.$store.getters[
|
const allCustomAttributes = this.$store.getters[
|
||||||
'attributes/getAttributesByModel'
|
'attributes/getAttributes'
|
||||||
](this.attributeModel);
|
];
|
||||||
|
|
||||||
const isCustomAttributeCheckbox = allCustomAttributes.find(attr => {
|
const isCustomAttributeCheckbox = allCustomAttributes.find(attr => {
|
||||||
return (
|
return (
|
||||||
|
@ -361,7 +361,6 @@ export default {
|
||||||
attr.attribute_display_type === 'checkbox'
|
attr.attribute_display_type === 'checkbox'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isCustomAttributeCheckbox) {
|
if (isCustomAttributeCheckbox) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue