From 3b7a87cc554dfd4859457dd502f380dd45ca2e37 Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Thu, 24 Nov 2022 14:09:21 +0100 Subject: [PATCH] Fix NextEditable expecting array instead of set --- .../editing/client/js/management/editable_type/NextEditable.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indico/modules/events/editing/client/js/management/editable_type/NextEditable.jsx b/indico/modules/events/editing/client/js/management/editable_type/NextEditable.jsx index c4d1d1dcf8f..bb519f047df 100644 --- a/indico/modules/events/editing/client/js/management/editable_type/NextEditable.jsx +++ b/indico/modules/events/editing/client/js/management/editable_type/NextEditable.jsx @@ -219,7 +219,7 @@ function NextEditableDisplay({eventId, editableType, onClose, fileTypes, managem : [e.contributionTitle, e.contributionCode] } onChangeFilters={onChangeFilters} - onChangeList={result => setFilteredSet(new Set(result.map(e => e.id)))} + onChangeList={setFilteredSet} />