1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

feat: wiki editor title seperation

This commit is contained in:
liuhongbo
2024-06-11 18:14:14 +08:00
parent db47d9cae9
commit fa5315bae8
5 changed files with 39 additions and 16 deletions

View File

@@ -43,4 +43,8 @@ const getIconURL = (repoId, fileName) => {
return serviceURL + '/lib/' + repoId + '/file/_Internal/Wiki/Icon/' + fileName + '?raw=1';
};
export { generatorBase64Code, generateUniqueId, isObjectNotEmpty, getIconURL };
const getCurrentPageConfig = (pages,pageId) => {
return pages.filter(page => page.id === pageId)[0]
}
export { generatorBase64Code, generateUniqueId, isObjectNotEmpty, getIconURL, getCurrentPageConfig };