[arvados] updated: 2.7.0-6053-ge86a96f413
git repository hosting
git at public.arvados.org
Thu Feb 22 16:14:35 UTC 2024
Summary of changes:
services/workbench2/src/components/data-table/data-table.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
via e86a96f413affec0a05a9843d2e8d960000843b6 (commit)
from 4a8db6777ef79b85ad52759bf5b4abec5b24c3b8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e86a96f413affec0a05a9843d2e8d960000843b6
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Thu Feb 22 11:14:27 2024 -0500
21386: refined loading state params Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/components/data-table/data-table.tsx b/services/workbench2/src/components/data-table/data-table.tsx
index fade7d4a24..c1b5167b46 100644
--- a/services/workbench2/src/components/data-table/data-table.tsx
+++ b/services/workbench2/src/components/data-table/data-table.tsx
@@ -168,7 +168,7 @@ export const DataTable = withStyles(styles)(
if (prevProps.currentRoute !== this.props.currentRoute) {
this.initializeCheckedList([])
}
- if(prevProps.working === true && this.props.working === false) {
+ if((prevProps.working === true && this.props.working === false || this.props.items.length > 0) && !this.state.isLoaded) {
this.setState({ isLoaded: true });
}
}
@@ -295,6 +295,7 @@ export const DataTable = withStyles(styles)(
const { isLoaded } = this.state;
if (columns[0].name === this.checkBoxColumn.name) columns.shift();
columns.unshift(this.checkBoxColumn);
+ console.log(items)
return (
<div className={classes.root}>
<div className={classes.content}>
@@ -314,6 +315,7 @@ export const DataTable = withStyles(styles)(
const { isLoaded } = this.state;
const { working, isNotFound } = this.props;
const dirty = columns.some(column => getTreeDirty("")(column.filters));
+ console.log('isNotFound', isNotFound, 'isLoaded', isLoaded, 'working', working, )
if (isNotFound && isLoaded) {
return (
<DataTableDefaultView
@@ -408,6 +410,7 @@ export const DataTable = withStyles(styles)(
);
renderBodyRow = (item: any, index: number) => {
+ console.log('item', item)
const { onRowClick, onRowDoubleClick, extractKey, classes, currentItemUuid, currentRoute } = this.props;
return (
<TableRow
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list