mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-04-29 04:24:59 +08:00
This commit is contained in:
@@ -581,7 +581,11 @@ const ViewRows = ({
|
||||
} else if (rowColumnValue === undefined) {
|
||||
cellValue = 'NULL';
|
||||
cellTitle = cellValue;
|
||||
} else if (typeof rowColumnValue === 'object') {
|
||||
} else if (
|
||||
col.data_type === 'json' ||
|
||||
col.data_type === 'jsonb' ||
|
||||
rowColumnValue === 'object'
|
||||
) {
|
||||
cellValue = JSON.stringify(rowColumnValue, null, 4);
|
||||
cellTitle = cellValue;
|
||||
} else {
|
||||
@@ -759,9 +763,7 @@ const ViewRows = ({
|
||||
<b className={styles.padd_small_right}>Selected:</b>
|
||||
{selectedRows.length}
|
||||
<button
|
||||
className={`${styles.add_mar_right_small} btn btn-xs btn-default ${
|
||||
styles.bulkDeleteButton
|
||||
}`}
|
||||
className={`${styles.add_mar_right_small} btn btn-xs btn-default ${styles.bulkDeleteButton}`}
|
||||
title="Delete selected rows"
|
||||
onClick={handleDeleteItems}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user