+
+ {t('nav.agentProfiles')}
+
+
+ {agentProfileError && (
+
+
{agentProfileError}
+
+
+ )}
+
+ {!agentProfileError && agentProfileStatus === 'loading' && (
+
+ {t('common.loading')}
+
+ )}
+
+ {!agentProfileError &&
+ agentProfileStatus !== 'loading' &&
+ agentProfiles.length === 0 && (
+
+ {t('nav.noAgentProfiles')}
+
+ )}
+
+ {!agentProfileError && agentProfiles.length > 0 && (
+
+ {agentProfiles.map(profile => {
+ const active = profile.id === activeAgentProfileId;
+ return (
+
+ );
+ })}
+
+ )}
+