Added redirect from server base path to overview page, to ease changing default page

This commit is contained in:
Alejandro Celaya
2020-12-08 18:27:36 +01:00
parent f359a16004
commit 43af6fdaba
5 changed files with 6 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ interface ServersListGroup {
}
const ServerListItem = ({ id, name }: { id: string; name: string }) => (
<ListGroupItem tag={Link} to={`/server/${id}/overview`} className="servers-list__server-item">
<ListGroupItem tag={Link} to={`/server/${id}`} className="servers-list__server-item">
{name}
<FontAwesomeIcon icon={chevronIcon} className="servers-list__server-item-icon" />
</ListGroupItem>