Updated new home page UI to support file manager disabling and permissions

- file manager enabled state is now cached for faster loading
This commit is contained in:
Isaac Abadi
2020-09-18 11:22:45 -04:00
parent ae8f7a2a33
commit 8fdc231f08
2 changed files with 14 additions and 6 deletions

View File

@@ -181,10 +181,12 @@
</ng-template>
<app-recent-videos></app-recent-videos>
<br/>
<h4 style="text-align: center">Custom playlists</h4>
<app-custom-playlists></app-custom-playlists>
<ng-container *ngIf="cachedFileManagerEnabled || fileManagerEnabled">
<app-recent-videos></app-recent-videos>
<br/>
<h4 style="text-align: center">Custom playlists</h4>
<app-custom-playlists></app-custom-playlists>
</ng-container>
<!--<div style="margin: 20px" *ngIf="fileManagerEnabled && (!postsService.isLoggedIn || postsService.permissions.includes('filemanager'))">
<mat-accordion>