mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-8644] Fixed issue where download button and comments section was missing on manage versions dialog (#10119)
This commit is contained in:
@@ -52,7 +52,9 @@ export class NewVersionUploaderService {
|
|||||||
config?: MatDialogConfig,
|
config?: MatDialogConfig,
|
||||||
selectorAutoFocusedOnClose?: string
|
selectorAutoFocusedOnClose?: string
|
||||||
): Observable<NewVersionUploaderData> {
|
): Observable<NewVersionUploaderData> {
|
||||||
const { file, node, showVersionsOnly, showComments, allowDownload } = data;
|
const { file, node, showVersionsOnly } = data;
|
||||||
|
const allowDownload = data.allowDownload ?? true;
|
||||||
|
const showComments = data.showComments ?? true;
|
||||||
|
|
||||||
return new Observable((observer) => {
|
return new Observable((observer) => {
|
||||||
this.versionsApi.listVersionHistory(node.id).then((versionPaging) => {
|
this.versionsApi.listVersionHistory(node.id).then((versionPaging) => {
|
||||||
|
Reference in New Issue
Block a user