Skip to content

Commit 3848be3

Browse files
authored
Merge pull request #11198 from hassnian/issue-11197
fix: Profile interactions test
2 parents 2b64376 + aef3417 commit 3848be3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/profile/ProfileDetail.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,9 @@ const buttonConfig = computed<ButtonConfig>(() =>
619619
)
620620
621621
const switchToTab = (tab: ProfileTab) => {
622-
activeTab.value = tab
622+
if (activeTab.value !== tab) {
623+
activeTab.value = tab
624+
}
623625
}
624626
625627
const onFollowersClick = () => {

0 commit comments

Comments
 (0)