Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ class UserBoundingBoxInput extends React.PureComponent<UserBoundingBoxInputProps
isLockedByOwner,
isOwner,
);
const isDeleteEnabled = !disabled && this.props.visibleSegmentationLayer != null;

const getContextMenu = () => {
const items: MenuProps["items"] = [
Expand Down Expand Up @@ -590,13 +589,13 @@ class UserBoundingBoxInput extends React.PureComponent<UserBoundingBoxInputProps
},
{
key: "delete",
label: isDeleteEnabled ? (
label: !disabled ? (
deleteButton
) : (
<FastTooltip title={editingDisallowedExplanation}>{deleteButton}</FastTooltip>
),
onClick: onDelete,
disabled: !isDeleteEnabled,
disabled,
},
];

Expand Down