fix: Update subview switch condition (no-changelog) (#4688)

This commit is contained in:
Alex Grozav 2022-11-22 14:01:22 +02:00 committed by GitHub
parent 60d66426ff
commit 91408dccf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,7 +374,7 @@ export default mixins(
this.sendSortingTelemetry(); this.sendSortingTelemetry();
}, },
loading(value) { loading(value) {
if (!value && this.shouldSwitchToAllSubview) { if (!value && this.subviewResources.length === 0 && this.shouldSwitchToAllSubview) {
this.isOwnerSubview = false; this.isOwnerSubview = false;
} }
}, },