Lint code

This commit is contained in:
2026-08-05 19:01:45 +02:00
parent 082d1b9723
commit aafbdc658e
46 changed files with 357 additions and 357 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ export class AdminModel {
console.error(error);
this.error = error.message;
return undefined;
}
};
private checkError = <T>(promise: Promise<T>) => promise.catch(this.handleError) as Promise<T | undefined>;
private running = true;
private initializedLive = false;
+3 -3
View File
@@ -43,9 +43,9 @@ function getTracks(season: Season, holiday: Holiday, map: MapType) {
'trees-winter',
'reindeer-winter',
] : [
'trees',
'reindeer',
]),
'trees',
'reindeer',
]),
'season',
'ambient',
'building',
+1 -1
View File
@@ -467,7 +467,7 @@ export class Model {
this.pending = true;
const alert = !!this.accountAlert ? 'y' : '';
const alert = this.accountAlert ? 'y' : '';
return this.post<JoinResponse>('/api/game/join', { version, ponyId, serverId, alert, url: location.href })
.finally(() => this.pending = false);
@@ -57,4 +57,4 @@ export class RollbarErrorHandler implements ErrorHandler {
}
}
}
}
}