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

feat: draft due to github connect

This commit is contained in:
er-pai-r
2023-07-06 14:56:31 +08:00
parent 6584582182
commit c2049d274e
9 changed files with 290 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ const { serviceURL, avatarURL, siteRoot } = window.app.config;
const { username, name } = window.app.userInfo;
const {
repoID, repoName, parentDir, filePerm,
docPath, docName, docUuid, seadocAccessToken, seadocServerUrl, assetsUrl
docPath, docName, docUuid, seadocAccessToken, seadocServerUrl, assetsUrl,
} = window.app.pageOptions;
window.seafile = {
@@ -31,7 +31,8 @@ window.seafile = {
parentFolderURL: `${siteRoot}library/${repoID}/${Utils.encodePath(repoName + parentDir)}`,
assetsUrl,
isShowInternalLink: true,
isStarIconShown: true // for star/unstar
isStarIconShown: true, // for star/unstar
revisionURL: Utils.generateRevisionURL(siteRoot, repoID, docPath),
};
ReactDom.render(