disks list KLink
@@ -6,25 +6,25 @@ import { deletePersistentVolumeAction } from "actions/persistentVolume";
import { blinkTopProgressAction } from "actions/settings";
import { K8sApiPrefix } from "api/realApi";
import { push } from "connected-react-router";
+import { KTooltip } from "forms/Application/KTooltip";
import PopupState, { bindPopover, bindTrigger } from "material-ui-popup-state";
import { StorageType } from "pages/Disks/StorageType";
import React from "react";
import { connect } from "react-redux";
-import { Link } from "react-router-dom";
import { RootState } from "reducers";
import { primaryColor } from "theme/theme";
import { TDispatchProp } from "types";
import { Disk } from "types/disk";
+import { sizeStringToGi } from "utils/sizeConv";
import { CustomizedButton } from "widgets/Button";
import { ConfirmDialog } from "widgets/ConfirmDialog";
import { EmptyInfoBox } from "widgets/EmptyInfoBox";
import { DeleteIcon, KalmVolumeIcon } from "widgets/Icon";
import { IconButtonWithTooltip } from "widgets/IconButtonWithTooltip";
import { InfoBox } from "widgets/InfoBox";
+import { KLink } from "widgets/Link";
import { KTable } from "widgets/Table";
import { BasePage } from "../BasePage";
-import { sizeStringToGi } from "utils/sizeConv";
-import { KTooltip } from "forms/Application/KTooltip";
const mapStateToProps = (state: RootState) => {
return {
@@ -184,13 +184,13 @@ export class VolumesRaw extends React.Component<Props, States> {
);
}
return (
- <Link
+ <KLink
style={{ color: primaryColor }}
to={`/applications/${rowData.get("componentNamespace")}/components`}
onClick={() => blinkTopProgressAction()}
>
{rowData.get("componentNamespace")}
- </Link>
+ </KLink>
);
};
@@ -203,13 +203,13 @@ export class VolumesRaw extends React.Component<Props, States> {
);
}
return (
- <Link
+ <KLink
style={{ color: primaryColor }}
to={`/applications/${rowData.get("componentNamespace")}/components/${rowData.get("componentName")}`}
onClick={() => blinkTopProgressAction()}
>
{rowData.get("componentName")}
- </Link>
+ </KLink>
);
};
