[arvados-workbench2] updated: 2.6.0-9-gdbc43c1a
git repository hosting
git at public.arvados.org
Wed May 10 17:43:35 UTC 2023
Summary of changes:
src/components/collection-panel-files/collection-panel-files.tsx | 2 +-
src/services/groups-service/groups-service.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
via dbc43c1a85ddf08bb2eab90b6e7cadabdc8e357c (commit)
from b3b7bc4a913960c0dd1cba50eb690534b15b37b4 (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 dbc43c1a85ddf08bb2eab90b6e7cadabdc8e357c
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Wed May 10 13:43:17 2023 -0400
20487: Use === instead of ==
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx
index 4896641b..ddf30364 100644
--- a/src/components/collection-panel-files/collection-panel-files.tsx
+++ b/src/components/collection-panel-files/collection-panel-files.tsx
@@ -261,7 +261,7 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState
const rightData = pathData[rightKey];
React.useEffect(() => {
- if (props.currentItemUuid && extractUuidKind(props.currentItemUuid) == ResourceKind.COLLECTION) {
+ if (props.currentItemUuid && extractUuidKind(props.currentItemUuid) === ResourceKind.COLLECTION) {
setPathData({});
setPath([props.currentItemUuid]);
}
diff --git a/src/services/groups-service/groups-service.ts b/src/services/groups-service/groups-service.ts
index cdbe8bab..fc603300 100644
--- a/src/services/groups-service/groups-service.ts
+++ b/src/services/groups-service/groups-service.ts
@@ -56,7 +56,7 @@ export class GroupsService<
select: select
? JSON.stringify(select.map(sel => {
const sp = sel.split(".");
- return sp.length == 2 ? (sp[0] + "." + snakeCase(sp[1])) : snakeCase(sel);
+ return sp.length === 2 ? (sp[0] + "." + snakeCase(sp[1])) : snakeCase(sel);
}))
: undefined
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list