disable menu for self
This commit is contained in:
@@ -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`)}
|
||||||
|
|||||||
Reference in New Issue
Block a user