mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
repair code
This commit is contained in:
@@ -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: '';
|
||||
|
Reference in New Issue
Block a user