Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
<full summary>

Issue: <url or "none">

Test plan:
<see below>
  • Loading branch information
lizfaubell committed Jul 27, 2024
1 parent b9a1fe1 commit 76eca8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tags/control/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ const Model = types.model({
if (
labels.selectedLabels.length === 1 &&
self.selected &&
labels.selectedLabels[0].value == self.value &&
labels.selectedLabels[0].value === self.value &&
!labels.selectedLabels[0].alias && // Hack: we only gave sub-labels aliases
region.labelings.length > 1
) {
console.log('can\'t deselect top level label w sub label!')
console.log('can\'t deselect top level label w sub label!');

return false;
}
Expand Down

0 comments on commit 76eca8b

Please sign in to comment.