From 11e787396c5e6397d29e3a2ef705c6b70e1cc585 Mon Sep 17 00:00:00 2001 From: shenron Date: Sat, 14 Feb 2026 15:38:21 -0500 Subject: [PATCH] UI: Make error fallback data uniform with N/A for all fields --- src/app/services/world-bank.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/services/world-bank.ts b/src/app/services/world-bank.ts index 1aca777..3d2c51d 100644 --- a/src/app/services/world-bank.ts +++ b/src/app/services/world-bank.ts @@ -42,9 +42,9 @@ export class WorldBankService { catchError(error => { console.error(`Failed to fetch data for ${countryCode}:`, error); return of({ - name: `Country Code: ${countryCode}`, - capital: 'Data not available', - region: 'Not available in World Bank API', + name: 'N/A', + capital: 'N/A', + region: 'N/A', incomeLevel: 'N/A', longitude: 'N/A', latitude: 'N/A'