1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

modify activities style && fix a bug (#2883)

This commit is contained in:
王健辉
2019-01-24 17:27:11 +08:00
committed by Daniel Pan
parent c3ede4e834
commit 9f0c98f3f1
2 changed files with 7 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ 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.op_type === 'review') {
} else if (json.obj_type === 'review') {
this.old_path = json.old_path;
this.review_id = json.review_id;
}