-
- setSelectAffiliations([affiliation.id])}
- />
-
- {
- (affiliation.hasCorrection) && (
-
- )
- }
-
-
-
setSelectAffiliations([affiliation.id])}
- style={{ cursor: 'pointer' }}
- >
-
-
-
+ {isLoading ? (
+
+ ) : (
+
+
+ {
+ sortedOrFilteredAffiliations.map((affiliation) => (
+ -
+
+
+
+
+ setSelectAffiliations([affiliation.id])}
+ />
+
+ {
+ (affiliation.hasCorrection) && (
+
+ )
+ }
+
+
+
setSelectAffiliations([affiliation.id])}
+ style={{ cursor: 'pointer' }}
+ >
+
+
+
+
-
-
-
-
-
- {affiliation.rorsToCorrect.map((rorToCorrect) => (
-
-
- item.ror === rorToCorrect.rorId)?.color || 'beige-gris-galet'}
- setFilteredAffiliationName={setFilteredAffiliationName}
- removeRor={() => toggleRemovedRor(affiliation.id, rorToCorrect.rorId)}
- />
-
-
- |
-
- ))}
- {affiliation.addList.map((ror) => (
-
-
- item.ror === ror.rorId)?.color || 'beige-gris-galet'}
- setFilteredAffiliationName={setFilteredAffiliationName}
- removeRor={() => removeRorFromAddList(affiliation.id, ror.rorId)}
- />
-
-
-
- Added
-
- |
-
- ))}
-
-
-
-
-
- ))
- }
-
-
+
+
+
+
+ {affiliation.rorsToCorrect.map((rorToCorrect) => (
+
+
+ item.ror === rorToCorrect.rorId)?.color || 'beige-gris-galet'}
+ setFilteredAffiliationName={setFilteredAffiliationName}
+ removeRor={() => toggleRemovedRor(affiliation.id, rorToCorrect.rorId)}
+ />
+
+
+ |
+
+ ))}
+ {affiliation.addList.map((ror) => (
+
+
+ item.ror === ror.rorId)?.color || 'beige-gris-galet'}
+ setFilteredAffiliationName={setFilteredAffiliationName}
+ removeRor={() => removeRorFromAddList(affiliation.id, ror.rorId)}
+ />
+
+
+
+ Added
+
+ |
+
+ ))}
+
+
+
+
+
+ ))
+ }
+
+
+ )}