Skip to content

Commit

Permalink
fix: displaying 6 envs at most in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Mar 17, 2024
1 parent e246c9a commit 469e167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/dashboard/src/views/footer/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ function CollapsedFooter(props) {
const { connectedAgents } = props

return (
<div className="grid grid-cols-3">
{Object.keys(connectedAgents).slice(0,3).map(envName => {
<div className="grid grid-cols-6 space-x-4">
{Object.keys(connectedAgents).slice(0,6).map(envName => {
const fluxState = connectedAgents[envName].fluxState;

if (!fluxState) {
Expand All @@ -132,7 +132,7 @@ function CollapsedFooter(props) {
<div className="w-full truncate" key={envName}>
<p className="font-semibold text-neutral-700">
{`${envName.toUpperCase()}`}:
<span className='ml-2'>
<span className='ml-1'>
<Summary resources={fluxState.gitRepositories} label="SOURCES" simple={true} />
<Summary resources={fluxState.kustomizations} label="KUSTOMIZATIONS" simple={true} />
<Summary resources={fluxState.helmReleases} label="HELM-RELEASES" simple={true} />
Expand Down

0 comments on commit 469e167

Please sign in to comment.