diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 1f0225d766..991d10c336 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -39,5 +39,6 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released ### Removed - Removed support for HTTP API versions 3 and 4. [#8075](https://github.com/scalableminds/webknossos/pull/8075) +- Removed that a warning is shown when a dataset is served from a datastore that was marked with isScratch=true. [#8296](https://github.com/scalableminds/webknossos/pull/8296) ### Breaking Changes 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,