mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
feat: tags (#7029)
* feat: tags * feat: optimize code * feat: optimize ui * feat: update title * feat: update title * Feat: tags status management * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize rebase --------- Co-authored-by: 杨国璇 <ygx@Hello-word.local> Co-authored-by: 杨国璇 <ygx@192.168.1.2>
This commit is contained in:
@@ -254,6 +254,17 @@ class Context {
|
||||
return this.metadataAPI.getPeoplePhotos(repoID, recordId, start, limit);
|
||||
};
|
||||
|
||||
// file tag
|
||||
addFileTags = (recordId, tagIds) => {
|
||||
const repoID = this.settings['repoID'];
|
||||
return this.metadataAPI.addFileTags(repoID, recordId, tagIds);
|
||||
};
|
||||
|
||||
updateFileTags = (recordId, tagIds) => {
|
||||
const repoID = this.settings['repoID'];
|
||||
return this.metadataAPI.updateFileTags(repoID, recordId, tagIds);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
export default Context;
|
||||
|
Reference in New Issue
Block a user