diff options
Diffstat (limited to 'animism-align/frontend/app/common/table.component.js')
| -rw-r--r-- | animism-align/frontend/app/common/table.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/animism-align/frontend/app/common/table.component.js b/animism-align/frontend/app/common/table.component.js index b26dcba..eada263 100644 --- a/animism-align/frontend/app/common/table.component.js +++ b/animism-align/frontend/app/common/table.component.js @@ -4,7 +4,7 @@ import { formatName } from 'app/utils' const __HR__ = '__HR__' -export function TableObject({ tag, object, order, summary }) { +export function TableObject({ tag, object, order, summary, className }) { if (!object) return null if (object === 'loading') { return <div className='tableObject loading'>{tag}{': Loading'}</div> @@ -37,7 +37,7 @@ export function TableObject({ tag, object, order, summary }) { return ( <div> {tag && <h3 className='tt'>{tag}</h3>} - <table className={'tableObject ' + tag}> + <table className={'tableObject ' + (className || "")}> <tbody> {objects.map((key, i) => ( <TableRow key={key + '_' + i} name={key} value={object[key]} /> |
