diff --git a/frontend/javascripts/oxalis/view/layouting/tracing_layout_view.tsx b/frontend/javascripts/oxalis/view/layouting/tracing_layout_view.tsx index f196944b1d..4971fe971c 100644 --- a/frontend/javascripts/oxalis/view/layouting/tracing_layout_view.tsx +++ b/frontend/javascripts/oxalis/view/layouting/tracing_layout_view.tsx @@ -1,5 +1,4 @@ -import { WarningFilled } from "@ant-design/icons"; -import { Alert, Layout, Tooltip } from "antd"; +import { Layout } from "antd"; import ErrorHandling from "libs/error_handling"; import Request from "libs/request"; import Toast from "libs/toast"; @@ -256,8 +255,7 @@ class TracingLayoutView extends React.PureComponent { this.props.is2d, ); const currentLayoutNames = this.getLayoutNamesFromCurrentView(layoutType); - const { isDatasetOnScratchVolume, isUpdateTracingAllowed, distanceMeasurementTooltipPosition } = - this.props; + const { isUpdateTracingAllowed, distanceMeasurementTooltipPosition } = this.props; const createNewTracing = async ( files: Array, @@ -322,31 +320,6 @@ class TracingLayoutView extends React.PureComponent { autoSaveLayouts: this.props.autoSaveLayouts, }} /> - {isDatasetOnScratchVolume ? ( - - - Dataset is on tmpscratch!{" "} - - - } - type="error" - /> - - ) : null} ) : null} @@ -401,7 +374,6 @@ function mapStateToProps(state: OxalisState) { isUpdateTracingAllowed: state.tracing.restrictions.allowUpdate, showVersionRestore: state.uiInformation.showVersionRestore, storedLayouts: state.uiInformation.storedLayouts, - isDatasetOnScratchVolume: state.dataset.dataStore.isScratch, datasetId: state.dataset.id, is2d: is2dDataset(state.dataset), displayName: state.tracing.name ? state.tracing.name : state.dataset.name,