diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 13:44:13 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 13:44:13 +0100 |
| commit | 0e849395aab06b3c05b609740ebc94cf3a5cd258 (patch) | |
| tree | 2efeee477043d7d3180047932231aef13dff1b9a /animism-align/frontend/app/common | |
| parent | 554695be3d2c0ed122fa83b6b0ac76e338116268 (diff) | |
navigating around, fix api filtering, add episode stats
Diffstat (limited to 'animism-align/frontend/app/common')
| -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]} /> |
