diff --git a/resources/js/components/RelatedEntries.vue b/resources/js/components/RelatedEntries.vue index 037f89b95..b46d8444b 100644 --- a/resources/js/components/RelatedEntries.vue +++ b/resources/js/components/RelatedEntries.vue @@ -42,6 +42,8 @@ this.currentTab = 'exceptions' } else if (this.logs.length) { this.currentTab = 'logs' + } else if (this.views.length) { + this.currentTab = 'views' } else if (this.queries.length) { this.currentTab = 'queries' } else if (this.models.length) { @@ -60,8 +62,6 @@ this.currentTab = 'gates' } else if (this.redis.length) { this.currentTab = 'redis' - } else if (this.views.length) { - this.currentTab = 'views' } }, },