New: Grab Title column option in History

Fixes #628
pull/633/head
Qstick 3 years ago
parent 5979c5f8fe
commit 1183a0386d

@ -247,6 +247,21 @@ class HistoryRow extends Component {
); );
} }
if (name === 'grabTitle') {
return (
<TableRowCell
key={name}
className={styles.indexer}
>
{
data.title ?
data.title :
null
}
</TableRowCell>
);
}
if (name === 'categories') { if (name === 'categories') {
return ( return (
<TableRowCell <TableRowCell

@ -52,6 +52,12 @@ export const defaultState = {
isSortable: false, isSortable: false,
isVisible: false isVisible: false
}, },
{
name: 'grabTitle',
label: 'Grab Title',
isSortable: false,
isVisible: false
},
{ {
name: 'categories', name: 'categories',
label: 'Categories', label: 'Categories',

Loading…
Cancel
Save