1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 08:06:56 +00:00

fix: sdoc notifications (#5774)

* fix: sdoc notifications

* feat: optimize code
This commit is contained in:
杨国璇
2023-11-17 13:00:30 +08:00
committed by GitHub
parent 160f69b83c
commit 6f4b158474
4 changed files with 19 additions and 29 deletions

View File

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