mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
bug fix
This commit is contained in:
parent
393731133c
commit
340838f070
@ -81,7 +81,7 @@ export class GalleryService {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
this.content.next(null);
|
this.content.next(new ContentWrapper());
|
||||||
const cw: ContentWrapper = await this.networkService.getJson<ContentWrapper>("/search/" + text, {type: type});
|
const cw: ContentWrapper = await this.networkService.getJson<ContentWrapper>("/search/" + text, {type: type});
|
||||||
console.log("photos", cw.searchResult.photos.length);
|
console.log("photos", cw.searchResult.photos.length);
|
||||||
console.log("direcotries", cw.searchResult.directories.length);
|
console.log("direcotries", cw.searchResult.directories.length);
|
||||||
|
Loading…
Reference in New Issue
Block a user