small fixes for search

This commit is contained in:
lotte
2019-05-16 13:43:07 +02:00
parent 5254308b8b
commit 487ee9f756
5 changed files with 4 additions and 12 deletions

View File

@@ -218,8 +218,7 @@ export class RemoteDataBuildService {
.map((d: RemoteData<T>) => d.isResponsePending)
.find((b: boolean) => b === true);
let isSuccessful: boolean = undefined;
let isSuccessful: boolean;
// isSuccessful should be undefined until all responses have come in.
// We can't know its state beforehand. We also can't say it's false
// because that would imply a request failed.