INFRA-2867 | fix build
This commit is contained in:
@@ -4,7 +4,7 @@ export const getSortedOption = (
|
||||
productOptions: Team[],
|
||||
initialProducts: Team[] | null,
|
||||
) => {
|
||||
const sortedProductOptions = productOptions?.toSorted((a, b) => {
|
||||
const sortedProductOptions = productOptions?.sort((a, b) => {
|
||||
const isSelectedLeft = initialProducts?.some(
|
||||
(product: Team) => product?.value === a?.value,
|
||||
);
|
||||
|
||||
@@ -63,7 +63,7 @@ const initialState: IncidentLogPageState = {
|
||||
openDialogDuplicate: false,
|
||||
openDialogResolve: false,
|
||||
openDialognotParticipants: false,
|
||||
selectedOptions: null,
|
||||
selectedOptions: [],
|
||||
};
|
||||
|
||||
const incidentLogSlice = createSlice({
|
||||
|
||||
Reference in New Issue
Block a user