summaryrefslogtreecommitdiff
path: root/web/src/pages/Tenants.jsx
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2020-08-21 10:51:58 +0100
committerSorin Sbarnea <ssbarnea@redhat.com>2020-11-20 09:39:31 +0000
commitebad14f1f97821e80e957e94d34ddafdefb0c724 (patch)
tree21960125b686e83853bed9f0de57fdfeb9a0104a /web/src/pages/Tenants.jsx
parent789f419595e5efa8805f6e698c7138164bb077c8 (diff)
downloadzuul-ebad14f1f97821e80e957e94d34ddafdefb0c724.tar.gz
Consolidate js/jsx indentation
Previously indentation was not checked at all and in order to avoid reviewers time with style checks, we can enforce it with eslint. Current js/jsx changes were made by: yarn lint-fix Note this this change can easily become outdated so we need to coordinate and merge it quickly as each rebase would loose previous votes. Change-Id: I85883fc8db924ad4ce9acad5acdd42aed7e4d0e4
Diffstat (limited to 'web/src/pages/Tenants.jsx')
-rw-r--r--web/src/pages/Tenants.jsx24
1 files changed, 12 insertions, 12 deletions
diff --git a/web/src/pages/Tenants.jsx b/web/src/pages/Tenants.jsx
index 1ca2c35a7..fdffb8e62 100644
--- a/web/src/pages/Tenants.jsx
+++ b/web/src/pages/Tenants.jsx
@@ -64,15 +64,15 @@ class TenantsPage extends React.Component {
const tenants = remoteData.tenants.map((tenant) => {
return {
cells: [
- {title: (<b>{tenant.name}</b>)},
- {title: (<Link to={'/t/' + tenant.name + '/status'}>Status</Link>)},
- {title: (<Link to={'/t/' + tenant.name + '/projects'}>Projects</Link>)},
- {title: (<Link to={'/t/' + tenant.name + '/jobs'}>Jobs</Link>)},
- {title: (<Link to={'/t/' + tenant.name + '/builds'}>Builds</Link>)},
- {title: (<Link to={'/t/' + tenant.name + '/buildsets'}>Buildsets</Link>)},
- tenant.projects,
- tenant.queue
- ]}})
+ {title: (<b>{tenant.name}</b>)},
+ {title: (<Link to={'/t/' + tenant.name + '/status'}>Status</Link>)},
+ {title: (<Link to={'/t/' + tenant.name + '/projects'}>Projects</Link>)},
+ {title: (<Link to={'/t/' + tenant.name + '/jobs'}>Jobs</Link>)},
+ {title: (<Link to={'/t/' + tenant.name + '/builds'}>Builds</Link>)},
+ {title: (<Link to={'/t/' + tenant.name + '/buildsets'}>Buildsets</Link>)},
+ tenant.projects,
+ tenant.queue
+ ]}})
const columns = [
{
title: <IconProperty icon={<HomeIcon />} value="Name"/>,
@@ -117,9 +117,9 @@ class TenantsPage extends React.Component {
rows={tenants}
className="zuul-tenant-table"
>
- <TableHeader />
- <TableBody />
- </Table>
+ <TableHeader />
+ <TableBody />
+ </Table>
</PageSection>
)
}