1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 20:37:42 +00:00

update enable md (#7862)

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
This commit is contained in:
awu0403
2025-05-28 21:31:45 +08:00
committed by GitHub
parent 9f64c3ab8f
commit de13ec8817
3 changed files with 8 additions and 3 deletions

View File

@@ -93,6 +93,8 @@ export const MetadataStatusProvider = ({ repoID, repoInfo, hideMetadataView, sta
setDetailsSettings({});
setIsBeingBuilt(newValue);
setEnableMetadata(newValue);
setTagsLang('en');
setEnableTags(newValue);
}, [enableMetadata, cancelMetadataURL]);
const updateEnableTags = useCallback((newValue, lang = 'en') => {