mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-25 19:01:14 +01:00
Cancel responses on startup
This commit is contained in:
@@ -87,7 +87,7 @@ export interface HttpResponse extends BaseModel {
|
||||
}
|
||||
|
||||
export function isResponseLoading(response: HttpResponse): boolean {
|
||||
return !(response.body || response.status || response.error);
|
||||
return response.elapsed === 0;
|
||||
}
|
||||
|
||||
export function modelsEq(a: Model, b: Model) {
|
||||
|
||||
Reference in New Issue
Block a user