disable menu for self

This commit is contained in:
Samuel Newman
2025-12-01 13:37:31 +02:00
parent 094ad9acbc
commit f3140dbccf
+2
View File
@@ -329,6 +329,7 @@ let ProfileMenu = ({
)} )}
</> </>
)} )}
{!isSelf && (
<Menu.Item <Menu.Item
testID="profileHeaderDropdownStarterPackAddRemoveBtn" testID="profileHeaderDropdownStarterPackAddRemoveBtn"
label={_(msg`Add to starter packs`)} label={_(msg`Add to starter packs`)}
@@ -338,6 +339,7 @@ let ProfileMenu = ({
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={StarterPack} /> <Menu.ItemIcon icon={StarterPack} />
</Menu.Item> </Menu.Item>
)}
<Menu.Item <Menu.Item
testID="profileHeaderDropdownListAddRemoveBtn" testID="profileHeaderDropdownListAddRemoveBtn"
label={_(msg`Add to lists`)} label={_(msg`Add to lists`)}