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:
committed by
Daniel Pan
parent
66422e3454
commit
f50fe8a2bd
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
10
frontend/src/models/file-tag.js
Normal file
10
frontend/src/models/file-tag.js
Normal 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;
|
Reference in New Issue
Block a user