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;
|
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>;
|
||||||
|
@ -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">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user