feat: add link to API docs
This commit is contained in:
parent
e0d08270bf
commit
ed4882b817
2 changed files with 3 additions and 2 deletions
|
@ -79,7 +79,7 @@
|
|||
active={$page.url.pathname === "/settings/tokens"}
|
||||
href="/settings/tokens"
|
||||
>
|
||||
Tokens
|
||||
API tokens
|
||||
</ListGroupItem>
|
||||
<ListGroupItem
|
||||
tag="a"
|
||||
|
|
|
@ -46,10 +46,11 @@
|
|||
</script>
|
||||
|
||||
<h1>
|
||||
Tokens ({data.tokens.length})
|
||||
API tokens ({data.tokens.length})
|
||||
<ButtonGroup>
|
||||
<Button color="success" on:click={() => createToken(false)}>New API token</Button>
|
||||
<Button color="success" on:click={() => createToken(true)}>New read-only API token</Button>
|
||||
<Button color="secondary" href="/api" target="_blank">API docs</Button>
|
||||
</ButtonGroup>
|
||||
</h1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue