Skip to content

Commit

Permalink
fix: show custom fields to agent
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Oct 2, 2024
1 parent 6c415e3 commit d2e1614
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions desk/src/components/ticket/TicketAgentFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ const options = computed(() => {
});
const customFields = computed(() => {
const _custom_fields = props.ticket.template.fields
.filter((field: Field) => !field.hide_from_customer)
.filter((f) => ["subject", "team", "priority"].indexOf(f.fieldname) === -1);
const _custom_fields = props.ticket.template.fields.filter(
(f) => ["subject", "team", "priority"].indexOf(f.fieldname) === -1
);
return _custom_fields;
});
Expand Down

0 comments on commit d2e1614

Please sign in to comment.