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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user