Skip to content

Commit

Permalink
🐛 focus on last tab in dashboard projects
Browse files Browse the repository at this point in the history
  • Loading branch information
clesecq committed Nov 28, 2024
1 parent d5204db commit bc116d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/project/DashboardProjectsManagement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const initTabs = () => {
name: obj.name,
commission: obj.id
}))
if (tabs.value.length) tab.value = tabs.value[0].name
if (tabs.value.length) tab.value = tabs.value.at(-1).name
}
onMounted(async () => {
Expand Down

0 comments on commit bc116d8

Please sign in to comment.