fix english/french (api version) unknown

pull/947/head
3thibaut1304 2025-07-02 13:14:04 +02:00
parent df9f4cb3cb
commit 440160fc6a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export default {
}
try {
const response = await this.fetch("/api/v2/version", { headers });
this.versionstring = response.version || "inconnue";
this.versionstring = response.version || "unknown";
const connResponse = await this.fetch("/api/v2/connections", { headers });
this.activeConnections = Array.isArray(connResponse) ? connResponse.length : null;