Skip to content

Commit d8d109b

Browse files
committed
fix dashboard section as first one
1 parent fbda5d0 commit d8d109b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

resources/js/Pages/Show/Show.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
const sectionsWithAlwaysFirst = computed<typeof show.layout.sections>(() => {
6565
if(show.layout.sections[0] && (
6666
show.sectionHasField(show.layout.sections[0], 'entityList')
67+
|| show.sectionHasField(show.layout.sections[0], 'dashboard')
6768
|| show.layout.sections[0].title
6869
|| show.sectionCommands(show.layout.sections[0])?.flat().length
6970
)

0 commit comments

Comments
 (0)