Skip to content

Commit

Permalink
Initial params title argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Apr 30, 2024
1 parent 6a0298f commit a2e7d66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import { getViewModeConfig } from "@/lib/helpers";
withDefaults(defineProps<{
withButtons?: boolean;
withTitle?: boolean;
}>(), {
withButtons: true,
withTitle: true,
});
const configStore = useConfigStore();
Expand Down Expand Up @@ -42,7 +44,7 @@ const refill = () => {

<template>
<config-section>
<template #title>
<template #title v-if="withTitle">
Initial Params
</template>
<template #body>
Expand Down
2 changes: 1 addition & 1 deletion src/components/config-editor/config-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ provide<() => boolean>(PROVIDED_TOGGLE_SUMMARY, () => toggleRightBar(rightBarMod
<types-config-section />
</MDBAccordionItem>
<MDBAccordionItem headerTitle="Initial" collapseId="collapse-initial">
<initial-config-section />
<initial-config-section :with-title="false" />
</MDBAccordionItem>
<MDBAccordionItem headerTitle="Exchange" collapseId="collapse-exchange">
<exchange-section />
Expand Down

0 comments on commit a2e7d66

Please sign in to comment.