1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

Show file tags (#2509)

This commit is contained in:
WangJianhui666
2018-11-13 16:39:13 +08:00
committed by Daniel Pan
parent 66422e3454
commit f50fe8a2bd
24 changed files with 346 additions and 31 deletions

View File

@@ -18,6 +18,7 @@ class Dirent {
this.modifier_name = json.modifier_name;
this.modifier_email = json.modifier_email;
this.modifier_contact_email = json.modifier_contact_email;
this.file_tags = json.file_tags;
}
}

View File

@@ -0,0 +1,10 @@
class FileTag {
constructor(object) {
this.id = object.file_tag_id;
this.repo_tag_id = object.repo_tag_id;
this.name = object.tag_name;
this.color = object.tag_color;
}
}
export default FileTag;