Доработать UI и счётчики

This commit is contained in:
AidarKC
2026-09-08 22:33:06 +04:00
parent 1f70d36e74
commit ae2f2fac41
18 changed files with 378 additions and 105 deletions
+6
View File
@@ -2944,6 +2944,12 @@ export class AuthService {
return response.payload || {};
}
async getUserCounters() {
const response = await this.ws.request('GetUserCounters', {});
if (response.status !== 200) throw opError('GetUserCounters', response);
return response.payload || {};
}
async getNotifications(countsOnly = false) {
const response = await this.ws.request('GetNotifications', countsOnly ? { countsOnly: true } : {});
if (response.status !== 200) throw opError('GetNotifications', response);