+
{group.label}
+ {group.projects.map((project) => {
+ const selected = project.id === activeProjectId
+ const ProjectIcon = group.icon
+ const detail =
+ project.kind === 'channel'
+ ? t('projectSwitcher.selector.remoteDetail', {
+ channel: project.channel
+ ? projectChannelLabels[project.channel]
+ : t(
+ 'projectSwitcher.selector.remoteChannel'
+ ),
+ path: project.rootPath
+ })
+ : t('projectSwitcher.selector.localDetail', {
+ path: project.rootPath
+ })
+ return (
+
+ )
+ })}
+
+ ) : null
+ )}
+