{t("commandPaletteNoResults")}
{navigationGroups.map((group, idx) => (
{idx > 0 && }
{group.items.map((item) => (
runCommand(() => router.push(item.href))
}
className="h-9"
>
{item.icon}
{item.title}
))}
))}
{/* {organizations.length > 1 && (
<>
{organizations.map((org) => (
runCommand(() => router.push(org.href))
}
>
{org.name}
{org.orgId}
{org.isPrimaryOrg && (
{t("primary")}
)}
))}
>
)} */}
{/* {shouldSearch && orgId && (
<>
{isLoading && !hasEntityResults ? (
{t("commandPaletteSearching")}
) : (
<>
{sites.length > 0 && (
{sites.map((site) => (
runCommand(() =>
router.push(site.href)
)
}
>
{site.name}
))}
)}
{resources.length > 0 && (
{resources.map((resource) => (
runCommand(() =>
router.push(
resource.href
)
)
}
>
{resource.name}
))}
)}
{users.length > 0 && (
{users.map((user) => (
runCommand(() =>
router.push(user.href)
)
}
>
{user.name}
{user.email}
))}
)}
{machineClients.length > 0 && (
{machineClients.map((client) => (
runCommand(() =>
router.push(client.href)
)
}
>
{client.name}
))}
)}
>
)}
>
)} */}
{/* {actions.length > 0 && (
<>
{actions.map((action) => (
runCommand(() => {
if (action.onSelect) {
action.onSelect();
} else if (action.href) {
router.push(action.href);
}
})
}
>
{action.icon}
{action.label}
))}
>
)} */}