mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 22:12:44 +03:00
UBER-410 Saved filter could not be opened sometime (#3380)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
c22ade8aa3
commit
c56c70c960
@ -228,7 +228,7 @@
|
|||||||
export let focusIndex = -1
|
export let focusIndex = -1
|
||||||
const { idx, focusManager } = registerFocus(focusIndex, {
|
const { idx, focusManager } = registerFocus(focusIndex, {
|
||||||
focus: () => {
|
focus: () => {
|
||||||
const editable = textEditor.isEditable()
|
const editable = textEditor?.isEditable()
|
||||||
if (editable) {
|
if (editable) {
|
||||||
focused = true
|
focused = true
|
||||||
textEditor.focus()
|
textEditor.focus()
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
export let focusIndex = -1
|
export let focusIndex = -1
|
||||||
const { idx, focusManager } = registerFocus(focusIndex, {
|
const { idx, focusManager } = registerFocus(focusIndex, {
|
||||||
focus: () => {
|
focus: () => {
|
||||||
const editable = textEditor.isEditable()
|
const editable = textEditor?.isEditable()
|
||||||
if (editable) {
|
if (editable) {
|
||||||
focused = true
|
focused = true
|
||||||
focus()
|
focus()
|
||||||
|
Loading…
Reference in New Issue
Block a user