mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
repo-tags-show (#2494)
This commit is contained in:
committed by
Daniel Pan
parent
973ca9cf35
commit
a63e8a4009
10
frontend/src/models/repo-tag.js
Normal file
10
frontend/src/models/repo-tag.js
Normal file
@@ -0,0 +1,10 @@
|
||||
class RepoTag {
|
||||
constructor(object) {
|
||||
this.id = object.repo_tag_id;
|
||||
this.repo_id = object.repo_id;
|
||||
this.name = object.tag_name;
|
||||
this.color = object.tag_color;
|
||||
}
|
||||
}
|
||||
|
||||
export default RepoTag;
|
Reference in New Issue
Block a user