1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
This commit is contained in:
Patrik Braun 2017-07-28 00:08:35 +02:00
parent 393731133c
commit 340838f070

View File

@ -81,7 +81,7 @@ export class GalleryService {
return null
}
this.content.next(null);
this.content.next(new ContentWrapper());
const cw: ContentWrapper = await this.networkService.getJson<ContentWrapper>("/search/" + text, {type: type});
console.log("photos", cw.searchResult.photos.length);
console.log("direcotries", cw.searchResult.directories.length);