From 0ca8bbfe244e7c6c32f3ab077b166c981838fa2a Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 3 Jun 2021 16:18:45 +0200 Subject: [PATCH] MOBILE-3320 sharedfiles: Fix site picker not displayed when pick file --- .../features/sharedfiles/components/list-modal/list-modal.html | 3 ++- .../features/sharedfiles/components/list-modal/list-modal.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/features/sharedfiles/components/list-modal/list-modal.html b/src/core/features/sharedfiles/components/list-modal/list-modal.html index f022309dd..602b672ac 100644 --- a/src/core/features/sharedfiles/components/list-modal/list-modal.html +++ b/src/core/features/sharedfiles/components/list-modal/list-modal.html @@ -14,6 +14,7 @@ + [path]="path" [showSitePicker]="!hideSitePicker" (onPathChanged)="calculateTitle($event)" + (onFilePicked)="filePicked($event)"> diff --git a/src/core/features/sharedfiles/components/list-modal/list-modal.ts b/src/core/features/sharedfiles/components/list-modal/list-modal.ts index f3ba2f873..9a38a9c75 100644 --- a/src/core/features/sharedfiles/components/list-modal/list-modal.ts +++ b/src/core/features/sharedfiles/components/list-modal/list-modal.ts @@ -32,7 +32,7 @@ export class CoreSharedFilesListModalComponent implements OnInit { @Input() manage?: boolean; @Input() pick?: boolean; // To pick a file you MUST use a modal. @Input() path?: string; - @Input() showSitePicker?: boolean; + @Input() hideSitePicker?: boolean; title?: string;