1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

improving loading

This commit is contained in:
Patrik Braun 2017-07-21 00:00:47 +02:00
parent 52c1793233
commit a78af7d3df
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@ export interface DirectoryDTO {
path: string; path: string;
lastModified: number; lastModified: number;
lastScanned: number; lastScanned: number;
scanned: boolean;
parent: DirectoryDTO; parent: DirectoryDTO;
directories: Array<DirectoryDTO>; directories: Array<DirectoryDTO>;
photos: Array<PhotoDTO>; photos: Array<PhotoDTO>;

View File

@ -57,8 +57,7 @@
<div body class="container" <div body class="container"
style="width: 100%; padding:0" style="width: 100%; padding:0"
*ngIf="(!_galleryService.content.value.directory || *ngIf="(!_galleryService.content.value.directory ||
(_galleryService.content.value.directory.photos.length == 0 (!_galleryService.content.value.directory.scanned)
&& _galleryService.content.value.directory.directories.length == 0))
&& !_galleryService.content.value.searchResult"> && !_galleryService.content.value.searchResult">
<div class="spinner"> <div class="spinner">