should be disabled when mode = UNSYNCED (#24911)

fixes: #24261

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2023-11-24 15:24:06 +01:00 committed by GitHub
parent c0c0a80e21
commit 9be83e01c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ export const ExtendedHeader = ({
</DropdownItem>,
<DropdownItem
key="unlink"
isDisabled={editMode ? !editMode.includes("UNSYNCED") : false}
isDisabled={editMode ? editMode.includes("UNSYNCED") : false}
onClick={toggleUnlinkUsersDialog}
>
{t("unlinkUsers")}