mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
update draft&review dispaly (#2505)
* replace draft.id with draft_name * add updateDraftsList function * Repair operation display * update review dispaly * refactor code
This commit is contained in:
@@ -162,4 +162,9 @@ export const Utils = {
|
||||
.parentNode
|
||||
.innerHTML;
|
||||
},
|
||||
|
||||
getFileName: function(filePath) {
|
||||
let lastIndex = filePath.lastIndexOf('/');
|
||||
return filePath.slice(lastIndex+1);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user