changeset 513 | dad9471f0d63 |
parent 447 | 38d5789e30d0 |
child 519 | ef3e4841d506 |
--- a/common/corpus-common-addon/addon/components/doc-created.js Wed Feb 15 22:53:52 2017 +0100 +++ b/common/corpus-common-addon/addon/components/doc-created.js Thu Feb 16 16:10:07 2017 +0100 @@ -87,7 +87,13 @@ // from the periodMatches function we know that we have a valid end date return this.formatDate(periodMatches.end.str, periodMatches.end.date); - }) + }), + click() { + const action = this.get('action'); + if (action) { + action(); + } + } });