diff --git a/src/pages/Connection.tsx b/src/pages/Connection.tsx index 791fb87..4abd76e 100644 --- a/src/pages/Connection.tsx +++ b/src/pages/Connection.tsx @@ -370,6 +370,25 @@ export default function Connection() { }); }; + // DEBUG: log app data to check svgIconKey presence + if (isRemnawave && appConfig?.platforms) { + const firstPlatformKey = Object.keys(appConfig.platforms)[0]; + if (firstPlatformKey) { + const pd = appConfig.platforms[firstPlatformKey]; + if (pd && !Array.isArray(pd) && 'apps' in pd) { + console.log( + '[DEBUG] RemnaWave apps:', + pd.apps.map((a: RemnawaveAppClient) => ({ + name: a.name, + svgIconKey: a.svgIconKey, + keys: Object.keys(a), + })), + ); + console.log('[DEBUG] svgLibrary keys:', Object.keys(appConfig.svgLibrary || {})); + } + } + } + // Loading if (isLoading) { return ( @@ -477,9 +496,9 @@ export default function Connection() { )} - {/* App chips row */} + {/* App cards row */} {currentPlatformApps.length > 0 && ( -