mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 00:03:08 +00:00
Update frontend/src/lib/components/splitPanes/SplitPanesLayout.svelte.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
ellipsis-dev[bot]
parent
d97a6dde21
commit
99ae6ff5be
@@ -22,7 +22,7 @@ export class SplitPanesLayout {
|
||||
}
|
||||
|
||||
setActivePane(layoutId: string, paneIndex: number) {
|
||||
if (!this.#layout[layoutId]?.[paneIndex]?.size) {
|
||||
if (this.#layout[layoutId]?.[paneIndex]?.size == null) {
|
||||
return
|
||||
} else {
|
||||
this.#layout[layoutId][paneIndex].active = true
|
||||
|
||||
Reference in New Issue
Block a user