this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Disable Switch post menu if no post instance yet

+10 -2
+10 -2
src/pages/status.jsx
··· 1100 1100 <MenuDivider /> 1101 1101 <MenuHeader className="plain">Experimental</MenuHeader> 1102 1102 <MenuItem 1103 - disabled={postSameInstance} 1103 + disabled={!postInstance || postSameInstance} 1104 1104 onClick={() => { 1105 1105 const statusURL = getInstanceStatusURL(heroStatus.url); 1106 1106 if (statusURL) { ··· 1112 1112 > 1113 1113 <Icon icon="transfer" /> 1114 1114 <small class="menu-double-lines"> 1115 - Switch to post's instance (<b>{postInstance}</b>) 1115 + Switch to post's instance 1116 + {postInstance ? ( 1117 + <> 1118 + {' '} 1119 + (<b>{postInstance}</b>) 1120 + </> 1121 + ) : ( 1122 + '' 1123 + )} 1116 1124 </small> 1117 1125 </MenuItem> 1118 1126 </Menu2>