From: Lucas Di Pentima Date: Wed, 11 Nov 2020 21:08:17 +0000 (-0300) Subject: 15685: Removes unused code. X-Git-Tag: 2.1.1~1^2~8 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/27886bedb6f236f4aa7288473670d896b3a48ac7 15685: Removes unused code. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx index 29f20be2..a89c3a92 100644 --- a/src/components/collection-panel-files/collection-panel-files.tsx +++ b/src/components/collection-panel-files/collection-panel-files.tsx @@ -128,8 +128,7 @@ export const CollectionPanelFilesComponent = ({ onItemMenuOpen, onSearchChange, :
onItemMenuOpen(ev, item, isWritable)} - {...treeProps} - items={treeProps.items} />
} + {...treeProps} />} } ); diff --git a/src/components/rename-dialog/rename-dialog.tsx b/src/components/rename-dialog/rename-dialog.tsx deleted file mode 100644 index 75c25b78..00000000 --- a/src/components/rename-dialog/rename-dialog.tsx +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (C) The Arvados Authors. All rights reserved. -// -// SPDX-License-Identifier: AGPL-3.0 - -import * as React from "react"; -import { InjectedFormProps, Field } from "redux-form"; -import { Dialog, DialogTitle, DialogContent, DialogActions, Button, DialogContentText, CircularProgress } from "@material-ui/core"; -import { WithDialogProps } from "~/store/dialog/with-dialog"; -import { TextField } from "../text-field/text-field"; - -export const RenameDialog = (props: WithDialogProps & InjectedFormProps<{ name: string }>) => -
- - {`Rename`} - - - {`Please, enter a new name for ${props.data}`} - - - - - - - - -
;