Skip to content

Commit

Permalink
remove home column from sysinfo table
Browse files Browse the repository at this point in the history
  • Loading branch information
jharris4 committed May 14, 2021
1 parent 026b5dc commit cc098a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/browser/modules/Stream/SysInfoFrame/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export const Sysinfo = ({
db.address,
db.role,
db.status,
db.home ? 'true' : '-',
db.default ? 'true' : '-',
db.error
]
Expand Down
12 changes: 2 additions & 10 deletions src/browser/modules/Stream/SysInfoFrame/sysinfo-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,10 @@ export function buildTableData(data: any) {

export function buildDatabaseTable(mappedDatabases: any) {
return (
<SysInfoTable key="database-table" header="Databases" colspan="7">
<SysInfoTable key="database-table" header="Databases" colspan="6">
<SysInfoTableEntry
key="database-entry"
headers={[
'Name',
'Address',
'Role',
'Status',
'Home',
'Default',
'Error'
]}
headers={['Name', 'Address', 'Role', 'Status', 'Default', 'Error']}
/>
{buildTableData(mappedDatabases)}
</SysInfoTable>
Expand Down

0 comments on commit cc098a0

Please sign in to comment.