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

repair code

This commit is contained in:
王健辉
2019-04-24 21:27:12 +08:00
parent ed4ca6bc4e
commit 0d2f5cc5ed
4 changed files with 10 additions and 3 deletions

View File

@@ -67,6 +67,8 @@ export const repoName = window.fileHistory ? window.fileHistory.pageOptions.repo
export const filePath = window.fileHistory ? window.fileHistory.pageOptions.filePath : '';
export const fileName = window.fileHistory ? window.fileHistory.pageOptions.fileName : '';
export const useNewAPI = window.fileHistory ? window.fileHistory.pageOptions.use_new_api : '';
export const canDownload = window.fileHistory ? window.fileHistory.pageOptions.can_download_file : '';
export const canCompare = window.fileHistory ? window.fileHistory.pageOptions.can_compare : '';
// Draft review
export const draftFilePath = window.draft ? window.draft.config.draftFilePath: '';