[ADF-2561] View comments on previous versions (#3137)

* [ADF-2561] View comments on previous versions

add input property to enable/disable viewing version comments

* [ADF-2561] add more tests
This commit is contained in:
Suzana Dirla
2018-04-04 14:33:15 +03:00
committed by Denys Vuika
parent 3a7751fec9
commit eb0b0fa5aa
8 changed files with 173 additions and 16 deletions

View File

@@ -2,5 +2,5 @@
<adf-version-upload [node]="node" (success)="onUploadSuccess($event)" (error)="onUploadError($event)"></adf-version-upload>
</div>
<div class="adf-version-list-container">
<adf-version-list #versionList [id]="node.id"></adf-version-list>
<adf-version-list #versionList [id]="node.id" [showComments]="showComments"></adf-version-list>
</div>