From 91408dccf529ed6fcd41554a0b2f496a425c8a06 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Tue, 22 Nov 2022 14:01:22 +0200 Subject: [PATCH] fix: Update subview switch condition (no-changelog) (#4688) --- .../editor-ui/src/components/layouts/ResourcesListLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/layouts/ResourcesListLayout.vue b/packages/editor-ui/src/components/layouts/ResourcesListLayout.vue index 8860cad036919..fd98686691e9f 100644 --- a/packages/editor-ui/src/components/layouts/ResourcesListLayout.vue +++ b/packages/editor-ui/src/components/layouts/ResourcesListLayout.vue @@ -374,7 +374,7 @@ export default mixins( this.sendSortingTelemetry(); }, loading(value) { - if (!value && this.shouldSwitchToAllSubview) { + if (!value && this.subviewResources.length === 0 && this.shouldSwitchToAllSubview) { this.isOwnerSubview = false; } },