Skip to content

Commit a1e9a60

Browse files
committed
fix(pages): fix horizontal page ctrl click
1 parent 5de6f84 commit a1e9a60

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/client/src/layouts/PagesLayout/MainContent/DisplayUI/DisplayHorizontalPage.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
class="horizontal-page"
44
:class="{ active }"
55
:href="`/pages/${pageId}`"
6-
@click.prevent.stop="internals.pages.goToPage(pageId)"
6+
@click.prevent.stop="
7+
internals.pages.goToPage(pageId, {
8+
openInNewTab: ($event as MouseEvent).ctrlKey,
9+
})
10+
"
711
>
812
<div class="group-title">
913
{{ groupNameInfo.text }}

0 commit comments

Comments
 (0)