1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

feat: adoc viewer add lang config (#5576)

This commit is contained in:
杨国璇
2023-08-07 17:45:28 +08:00
committed by GitHub
parent de46fad212
commit 29f11deab3

View File

@@ -6,7 +6,7 @@ import { Utils } from './utils/utils';
import Loading from './components/loading';
import SdocEditor from './pages/sdoc-editor';
const { serviceURL, avatarURL, siteRoot } = window.app.config;
const { serviceURL, avatarURL, siteRoot, lang } = window.app.config;
const { username, name } = window.app.userInfo;
const {
repoID, repoName, parentDir, filePerm,
@@ -38,6 +38,7 @@ window.seafile = {
revisionURL: Utils.generateRevisionURL(siteRoot, repoID, docPath),
originFilename,
revisionCreatedAt,
lang,
};
ReactDom.render(