[arvados-workbench2] updated: 2.7.0-12-g461a55e5

git repository hosting git at public.arvados.org
Fri Oct 13 20:52:24 UTC 2023


Summary of changes:
 src/common/html-sanitize.ts                          | 9 +--------
 src/views-components/data-explorer/data-explorer.tsx | 1 -
 src/views-components/data-explorer/renderers.tsx     | 1 -
 3 files changed, 1 insertion(+), 10 deletions(-)

       via  461a55e53382e6acd402fc5c5ff3f944865daac2 (commit)
      from  bc80b56b75691f7571e3b86f3bb50cc26ce9d5b0 (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 461a55e53382e6acd402fc5c5ff3f944865daac2
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Oct 13 14:49:43 2023 -0400

    21026: manual test good Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/common/html-sanitize.ts b/src/common/html-sanitize.ts
index 3bdc09e2..2bb43d08 100644
--- a/src/common/html-sanitize.ts
+++ b/src/common/html-sanitize.ts
@@ -45,12 +45,5 @@ const domPurifyConfig: TDomPurifyConfig = {
     ALLOWED_ATTR: ['src', 'width', 'height', 'href', 'alt', 'title'],
 };
 
-export const sanitizeHTML = (dirtyInput: string): string => {
-    console.log('dirty------', dirtyInput);
+export const sanitizeHTML = (dirtyInput: string): string => DOMPurify.sanitize(dirtyInput, domPurifyConfig);
 
-    const clean = DOMPurify.sanitize(dirtyInput, domPurifyConfig);
-    
-    console.log('clean------', clean);
-
-    return clean;
-};
diff --git a/src/views-components/data-explorer/data-explorer.tsx b/src/views-components/data-explorer/data-explorer.tsx
index f8f030eb..59c389ac 100644
--- a/src/views-components/data-explorer/data-explorer.tsx
+++ b/src/views-components/data-explorer/data-explorer.tsx
@@ -22,7 +22,6 @@ interface Props {
 }
 
 const mapStateToProps = (state: RootState, { id }: Props) => {
-    // console.log(state.form.projectUpdateFormName? state.form.projectUpdateFormName:'')
     const progress = state.progressIndicator.find(p => p.id === id);
     const dataExplorerState = getDataExplorer(state.dataExplorer, id);
     const currentRoute = state.router.location ? state.router.location.pathname : '';
diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index dca06084..257eacfb 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -521,7 +521,6 @@ const renderResourceLink = (dispatch: Dispatch, item: Resource) => {
             color="primary"
             style={{ cursor: "pointer" }}
             onClick={() => {
-                console.log(item);
                 item.kind === ResourceKind.GROUP && (item as GroupResource).groupClass === "role"
                     ? dispatch<any>(navigateToGroupDetails(item.uuid))
                     : dispatch<any>(navigateTo(item.uuid));

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list