Browse Source

Fix links

pull/1886/head
Gabe Kangas 6 years ago
parent
commit
0f06741309
  1. 2
      web/pages/update-server-config.tsx
  2. 6
      web/pages/upgrade.tsx

2
web/pages/update-server-config.tsx

@ -24,7 +24,7 @@ function SocialHandles({ config }) {
title: "URL", title: "URL",
dataIndex: "url", dataIndex: "url",
key: "url", key: "url",
render: (url) => `<a href="${url}">${url}</a>` render: (url) => <a href={url}>{url}</a>
}, },
]; ];

6
web/pages/upgrade.tsx

@ -11,7 +11,7 @@ export default function Logs() {
created_at: null, created_at: null,
body: "", body: "",
assets: [], assets: [],
}); });
const getRelease = async () => { const getRelease = async () => {
@ -58,7 +58,7 @@ function AssetTable(assets) {
dataIndex: "name", dataIndex: "name",
key: "name", key: "name",
render: (text, entry) => render: (text, entry) =>
`<a href="${entry.browser_download_url}">${text}</a>`, <a href={entry.browser_download_url}>{text}</a>,
}, },
{ {
title: "Size", title: "Size",
@ -69,7 +69,7 @@ function AssetTable(assets) {
}, },
]; ];
return <Table dataSource={data} columns={columns} rowKey="id" />; return <Table dataSource={data} columns={columns} rowKey="id" size="large" />;
} }
async function fetchData(url) { async function fetchData(url) {

Loading…
Cancel
Save