mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 1585720 - Avoid CodeMirror operation when there are no column breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47942 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4c101d240f
commit
3abfc57f0c
@ -42,7 +42,11 @@ class ColumnBreakpoints extends Component<Props> {
|
||||
breakpointActions,
|
||||
} = this.props;
|
||||
|
||||
if (!selectedSource || selectedSource.isBlackBoxed) {
|
||||
if (
|
||||
!selectedSource ||
|
||||
selectedSource.isBlackBoxed ||
|
||||
columnBreakpoints.length === 0
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user