fix: add country flags to node usage display

- Add country_code to UserNodeUsageItem type
- Add getCountryFlag helper for country code to emoji mapping
- Show country flag next to node name in usage bars
This commit is contained in:
Fringg
2026-02-07 06:22:08 +03:00
parent 0083b47d04
commit 80bad9d623
2 changed files with 52 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ export interface UserPanelInfo {
export interface UserNodeUsageItem {
node_uuid: string;
node_name: string;
country_code: string;
total_bytes: number;
}