fix: killin it softly (#16666)
parent
3b7da5df1d
commit
7c2980d9ea
|
|
@ -164,7 +164,11 @@ class InlineLabelsEditor extends Component<Props, State> {
|
|||
const {availableLabels} = this
|
||||
const {isPopoverVisible} = this.state
|
||||
|
||||
if (_.isEmpty(availableLabels) && !isPopoverVisible) {
|
||||
if (_.isEmpty(availableLabels)) {
|
||||
if (isPopoverVisible) {
|
||||
return
|
||||
}
|
||||
|
||||
return this.setState({
|
||||
isPopoverVisible: true,
|
||||
selectedItemID: null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue