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

click draft file from activities (#3153)

This commit is contained in:
陈钦亮
2019-03-21 14:29:09 +08:00
committed by Daniel Pan
parent d038b6a8a0
commit e9ce192502
4 changed files with 34 additions and 3 deletions

View File

@@ -25,6 +25,8 @@ class Acticity {
this.old_name = json.old_name;
} else if (json.op_type === 'publish') {
this.old_path = json.old_path;
} else if (json.name.endsWith('(draft).md')) {
this.draft_id = json.draft_id;
}
}
}