MOBILE-3320 sharedfiles: Fix site picker not displayed when pick file

main
Dani Palou 2021-06-03 16:18:45 +02:00
parent aebedbd150
commit 0ca8bbfe24
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@
</ion-header> </ion-header>
<ion-content> <ion-content>
<core-shared-files-list [siteId]="siteId" [mimetypes]="mimetypes" [isModal]="true" [manage]="manage" [pick]="pick" <core-shared-files-list [siteId]="siteId" [mimetypes]="mimetypes" [isModal]="true" [manage]="manage" [pick]="pick"
[path]="path" [showSitePicker]="showSitePicker" (onPathChanged)="calculateTitle($event)" (onFilePicked)="filePicked($event)"> [path]="path" [showSitePicker]="!hideSitePicker" (onPathChanged)="calculateTitle($event)"
(onFilePicked)="filePicked($event)">
</core-shared-files-list> </core-shared-files-list>
</ion-content> </ion-content>

View File

@ -32,7 +32,7 @@ export class CoreSharedFilesListModalComponent implements OnInit {
@Input() manage?: boolean; @Input() manage?: boolean;
@Input() pick?: boolean; // To pick a file you MUST use a modal. @Input() pick?: boolean; // To pick a file you MUST use a modal.
@Input() path?: string; @Input() path?: string;
@Input() showSitePicker?: boolean; @Input() hideSitePicker?: boolean;
title?: string; title?: string;