mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-15 15:10:31 -08:00
Update server.tsx
This commit is contained in:
parent
fb5e262c93
commit
bfb573798a
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export function ServerOptions(props: IServerOptionsProps) {
|
|||
edge='end'
|
||||
color='primary'
|
||||
checked={tokenAuth}
|
||||
onChange={async (event) => {
|
||||
onChange={async () => {
|
||||
const nextTokenAuth = !tokenAuth;
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||
const newAuthToken = authToken || await (window.service.auth.generateOneTimeAdminAuthTokenForWorkspace(id));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue