save and restore scroll position of song list

This commit is contained in:
2020-06-09 20:28:35 +02:00
parent 634edec169
commit 268c683ad3
6 changed files with 81 additions and 10 deletions

View File

@@ -39,9 +39,11 @@
</app-button-row>
</app-card>
<app-card *ngIf="(files$|async).length>0" heading="Anhänge">
<p *ngFor="let file of (files$|async)">
<app-file [file]="file"></app-file>
</p>
</app-card>
<ng-template *ngIf="(files$|async) as files">
<app-card *ngIf="files.length>0" heading="Anhänge">
<p *ngFor="let file of (files$|async)">
<app-file [file]="file"></app-file>
</p>
</app-card>
</ng-template>
</div>