Web: People: fixed manager name for a group without a manager

This commit is contained in:
Artem Tarasov 2021-04-05 16:35:38 +03:00
parent e304af064b
commit 9d7f6265e7

View File

@ -287,7 +287,7 @@ const SectionBodyContent = ({
opened={isHeadSelectorOpen}
selectedOption={
newGroupManager.default ||
newGroupManager.id === ID_NO_GROUP_MANAGER ||
newGroupManager.key === ID_NO_GROUP_MANAGER ||
newGroupManager.displayName === "profile removed"
? { ...newGroupManager, label: t("LblSelect") }
: newGroupManager