UBER-410 Saved filter could not be opened sometime (#3380)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-06-07 14:08:43 +06:00 committed by GitHub
parent c22ade8aa3
commit c56c70c960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@
export let focusIndex = -1
const { idx, focusManager } = registerFocus(focusIndex, {
focus: () => {
const editable = textEditor.isEditable()
const editable = textEditor?.isEditable()
if (editable) {
focused = true
textEditor.focus()

View File

@ -109,7 +109,7 @@
export let focusIndex = -1
const { idx, focusManager } = registerFocus(focusIndex, {
focus: () => {
const editable = textEditor.isEditable()
const editable = textEditor?.isEditable()
if (editable) {
focused = true
focus()