From 1c688007cb4af63ac9b0c88386944a7ff6f75cbd Mon Sep 17 00:00:00 2001 From: Charlie Meister Date: Mon, 4 Nov 2024 11:40:36 +0100 Subject: [PATCH 1/2] allow to delete bbox even if there is no visible segmentation layer --- .../oxalis/view/components/setting_input_views.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/javascripts/oxalis/view/components/setting_input_views.tsx b/frontend/javascripts/oxalis/view/components/setting_input_views.tsx index c8aae850a9..57c6424722 100644 --- a/frontend/javascripts/oxalis/view/components/setting_input_views.tsx +++ b/frontend/javascripts/oxalis/view/components/setting_input_views.tsx @@ -554,7 +554,6 @@ class UserBoundingBoxInput extends React.PureComponent { const items: MenuProps["items"] = [ @@ -590,13 +589,13 @@ class UserBoundingBoxInput extends React.PureComponent{deleteButton} ), onClick: onDelete, - disabled: !isDeleteEnabled, + disabled, }, ]; From 2c5eb3faf6b09f07af00a9dfd4c2b5ac00454067 Mon Sep 17 00:00:00 2001 From: Charlie Meister Date: Mon, 4 Nov 2024 11:47:26 +0100 Subject: [PATCH 2/2] add changelog --- CHANGELOG.unreleased.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 4e0cb15ae5..0b4bac02c5 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -37,6 +37,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released - Fixed a bug where you could not create annotations for public datasets of other organizations. [#8107](https://github.com/scalableminds/webknossos/pull/8107) - Users without edit permissions to a dataset can no longer delete sharing tokens via the API. [#8083](https://github.com/scalableminds/webknossos/issues/8083) - Fixed downloading task annotations of teams you are not in, when accessing directly via URI. [#8155](https://github.com/scalableminds/webknossos/pull/8155) +- Deleting a bounding box is now possible independently of a visible segmentation layer. [#8164](https://github.com/scalableminds/webknossos/pull/8164) ### Removed