forked from github-starred/komodo
server page - swap version / stats link
This commit is contained in:
@@ -72,14 +72,6 @@ export const ServerComponents: RequiredResourceComponents = {
|
||||
</Card>
|
||||
);
|
||||
},
|
||||
Stats: ({ id }) => (
|
||||
<Link to={`/servers/${id}/stats`}>
|
||||
<Button variant="link" className="flex gap-2 items-center p-0">
|
||||
<AreaChart className="w-4 h-4" />
|
||||
Stats
|
||||
</Button>
|
||||
</Link>
|
||||
),
|
||||
Version: ({ id }) => {
|
||||
const version = useRead("GetPeripheryVersion", { server: id }).data
|
||||
?.version;
|
||||
@@ -89,6 +81,14 @@ export const ServerComponents: RequiredResourceComponents = {
|
||||
</div>
|
||||
);
|
||||
},
|
||||
Stats: ({ id }) => (
|
||||
<Link to={`/servers/${id}/stats`}>
|
||||
<Button variant="link" className="flex gap-2 items-center p-0">
|
||||
<AreaChart className="w-4 h-4" />
|
||||
Stats
|
||||
</Button>
|
||||
</Link>
|
||||
),
|
||||
},
|
||||
|
||||
Info: {
|
||||
|
||||
Reference in New Issue
Block a user