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

remove review event (#3089)

* remove review event

* draft publish event
This commit is contained in:
王健辉
2019-03-11 17:38:47 +08:00
committed by Daniel Pan
parent ab09a62a1e
commit d6842e9ce5
5 changed files with 19 additions and 49 deletions

View File

@@ -23,9 +23,8 @@ class Acticity {
} else if (json.op_type === 'rename' && ['dir', 'file'].includes(json.obj_type)) {
this.old_path = json.old_path;
this.old_name = json.old_name;
} else if (json.obj_type === 'review') {
} else if (json.op_type === 'publish') {
this.old_path = json.old_path;
this.review_id = json.review_id;
}
}
}