🎨 Remove the access authorization code setting item on the browser-end https://github.com/siyuan-note/siyuan/issues/9331
This commit is contained in:
parent
279e17e8b5
commit
3d7bf2eb0f
2 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,7 @@ export const about = {
|
|||
<div class="fn__space"></div>
|
||||
<input class="b3-switch fn__flex-center" id="networkServe" type="checkbox"${window.siyuan.config.system.networkServe ? " checked" : ""}>
|
||||
</label>
|
||||
<div class="b3-label">
|
||||
<div class="b3-label${(window.siyuan.config.readonly || isBrowser()) ? " fn__none" : ""}">
|
||||
<label class="fn__flex">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.about5}
|
||||
|
|
|
@ -9,6 +9,7 @@ import {exitSiYuan, processSync} from "../../dialog/processSystem";
|
|||
import {pathPosix} from "../../util/pathName";
|
||||
import {openModel} from "../menu/model";
|
||||
import {setKey} from "../../sync/syncGuide";
|
||||
import {isBrowser} from "../../util/functions";
|
||||
|
||||
export const initAbout = () => {
|
||||
if (!window.siyuan.config.localIPs || window.siyuan.config.localIPs.length === 0 ||
|
||||
|
@ -39,7 +40,7 @@ export const initAbout = () => {
|
|||
<div class="fn__hr"></div>
|
||||
<div class="b3-label__text">${window.siyuan.languages.about18}</div>
|
||||
</div>
|
||||
<div class="b3-label${window.siyuan.config.readonly ? " fn__none" : ""}">
|
||||
<div class="b3-label${(window.siyuan.config.readonly || isBrowser()) ? " fn__none" : ""}">
|
||||
${window.siyuan.languages.about5}
|
||||
<div class="fn__hr"></div>
|
||||
<button class="b3-button b3-button--outline fn__block" id="authCode">
|
||||
|
|
Loading…
Add table
Reference in a new issue