groupView: 'no ships are banned' styling

This commit is contained in:
Matilde Park 2020-08-19 20:37:55 -04:00
parent 730478080c
commit 0411052e42

View File

@ -272,7 +272,7 @@ export class GroupView extends Component<
{ships.map((ship) => ( {ships.map((ship) => (
<GroupMember key={ship} ship={ship} options={options(ship)} /> <GroupMember key={ship} ship={ship} options={options(ship)} />
))} ))}
{ships.length === 0 && <Text className='f9'>No ships are pending</Text>} {ships.length === 0 && <Text>No ships are pending</Text>}
{props.inviteShips && this.isAdmin() && ( {props.inviteShips && this.isAdmin() && (
<> <>
<div className='f9 gray2 mt6 mb3'>Invite</div> <div className='f9 gray2 mt6 mb3'>Invite</div>
@ -312,7 +312,7 @@ export class GroupView extends Component<
{ships.map((ship) => ( {ships.map((ship) => (
<GroupMember key={ship} ship={ship} options={options(ship)} /> <GroupMember key={ship} ship={ship} options={options(ship)} />
))} ))}
{ships.length === 0 && <div className='f9'>No ships are banned</div>} {ships.length === 0 && <Text>No ships are banned</Text>}
</div> </div>
); );
} }