disable menu for self
This commit is contained in:
@@ -329,15 +329,17 @@ let ProfileMenu = ({
|
|||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Menu.Item
|
{!isSelf && (
|
||||||
testID="profileHeaderDropdownStarterPackAddRemoveBtn"
|
<Menu.Item
|
||||||
label={_(msg`Add to starter packs`)}
|
testID="profileHeaderDropdownStarterPackAddRemoveBtn"
|
||||||
onPress={onPressAddToStarterPacks}>
|
label={_(msg`Add to starter packs`)}
|
||||||
<Menu.ItemText>
|
onPress={onPressAddToStarterPacks}>
|
||||||
<Trans>Add to starter packs</Trans>
|
<Menu.ItemText>
|
||||||
</Menu.ItemText>
|
<Trans>Add to starter packs</Trans>
|
||||||
<Menu.ItemIcon icon={StarterPack} />
|
</Menu.ItemText>
|
||||||
</Menu.Item>
|
<Menu.ItemIcon icon={StarterPack} />
|
||||||
|
</Menu.Item>
|
||||||
|
)}
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
testID="profileHeaderDropdownListAddRemoveBtn"
|
testID="profileHeaderDropdownListAddRemoveBtn"
|
||||||
label={_(msg`Add to lists`)}
|
label={_(msg`Add to lists`)}
|
||||||
|
|||||||
Reference in New Issue
Block a user