mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
improving loading
This commit is contained in:
parent
52c1793233
commit
a78af7d3df
@ -6,6 +6,7 @@ export interface DirectoryDTO {
|
||||
path: string;
|
||||
lastModified: number;
|
||||
lastScanned: number;
|
||||
scanned: boolean;
|
||||
parent: DirectoryDTO;
|
||||
directories: Array<DirectoryDTO>;
|
||||
photos: Array<PhotoDTO>;
|
||||
|
@ -57,8 +57,7 @@
|
||||
<div body class="container"
|
||||
style="width: 100%; padding:0"
|
||||
*ngIf="(!_galleryService.content.value.directory ||
|
||||
(_galleryService.content.value.directory.photos.length == 0
|
||||
&& _galleryService.content.value.directory.directories.length == 0))
|
||||
(!_galleryService.content.value.directory.scanned)
|
||||
&& !_galleryService.content.value.searchResult">
|
||||
<div class="spinner">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user