mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-03 07:42:39 -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'
|
edge='end'
|
||||||
color='primary'
|
color='primary'
|
||||||
checked={tokenAuth}
|
checked={tokenAuth}
|
||||||
onChange={async (event) => {
|
onChange={async () => {
|
||||||
const nextTokenAuth = !tokenAuth;
|
const nextTokenAuth = !tokenAuth;
|
||||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
const newAuthToken = authToken || await (window.service.auth.generateOneTimeAdminAuthTokenForWorkspace(id));
|
const newAuthToken = authToken || await (window.service.auth.generateOneTimeAdminAuthTokenForWorkspace(id));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue