21026: manual test good Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
authorLisa Knox <lisaknox83@gmail.com>
Fri, 13 Oct 2023 18:49:43 +0000 (14:49 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Fri, 13 Oct 2023 18:49:43 +0000 (14:49 -0400)
src/common/html-sanitize.ts
src/views-components/data-explorer/data-explorer.tsx
src/views-components/data-explorer/renderers.tsx

index 3bdc09e29f83053b6d2d766097ebe40743011351..2bb43d081a4820456183b87e227ee38f8a7129c8 100644 (file)
@@ -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;
-};
index f8f030eb991475d921229d578aee1acecc882c2d..59c389ac573cbff0b90634aec8777a1ef9d4cf80 100644 (file)
@@ -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 : '';
index dca06084f63bfeef74aedf896a411b7ac624f764..257eacfb294bde6b6b06c2e2aeeb0abca5a5b77d 100644 (file)
@@ -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));