瀏覽代碼

Remove `Replica` nomenclature from Transfer Edit window

Daniel Vincze 1 年之前
父節點
當前提交
e5675ad372
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      src/components/modules/TransferModule/TransferItemModal/TransferItemModal.tsx

+ 2 - 8
src/components/modules/TransferModule/TransferItemModal/TransferItemModal.tsx

@@ -1098,9 +1098,7 @@ class TransferItemModal extends React.Component<Props, State> {
     return (
       <Modal
         isOpen={this.props.isOpen}
-        title={`${
-          this.props.type === "replica" ? "Edit Replica" : "Recreate Migration"
-        }`}
+        title="Edit Transfer"
         onRequestClose={this.props.onRequestClose}
         contentWidth={this.state.width === "normal" ? "800px" : "1074px"}
         onScrollableRef={() => this.scrollableRef}
@@ -1117,11 +1115,7 @@ class TransferItemModal extends React.Component<Props, State> {
           onReloadClick={() => {
             this.handleReload();
           }}
-          reloadLabel={
-            this.props.type === "replica"
-              ? "Reload All Replica Options"
-              : "Reload All Migration Options"
-          }
+          reloadLabel="Reload All Options"
         />
       </Modal>
     );