Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ee/client/omnichannel/additionalForms/PrioritiesSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
import { Field, Select } from '@rocket.chat/fuselage';

export const PrioritiesSelect = ({ options, value, handler, label }) => {
const optionsSelect = useMemo(() => (options && options.length > 0) && options.map((option) => [option._id, option.name], [options]));
const optionsSelect = useMemo(() => (options && options.length > 0) && options.map((option) => [option._id, option.name]), [options]);

return <Field>
<Field.Label>{label}</Field.Label>
Expand Down