Skip to content

Commit

Permalink
PageItem型にisShowOpenLogDirectoryButtonを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Feb 29, 2024
1 parent b39ebd2 commit 8924e21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/help/HelpDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}}{{ page.name }}
</q-toolbar-title>
<q-btn
v-if="selectedPageIndex === 7"
v-if="page.isShowOpenLogDirectoryButton"
unelevated
color="toolbar-button"
text-color="toolbar-button-display"
Expand Down Expand Up @@ -100,6 +100,7 @@ type PageItem = {
parent?: string;
component: Component;
props?: Record<string, unknown>;
isShowOpenLogDirectoryButton?: boolean;
};
type PageSeparator = {
type: "separator";
Expand Down Expand Up @@ -217,6 +218,7 @@ const pagedata = computed(() => {
props: {
markdown: contact.value,
},
isShowOpenLogDirectoryButton: true,
},
];
// エンジンが一つだけの場合は従来の表示のみ
Expand Down

0 comments on commit 8924e21

Please sign in to comment.