Skip to content

Commit

Permalink
Use presence of meltano_sdk keyword to display SDK settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel committed Mar 15, 2024
1 parent 6d25d33 commit 43aac0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PluginSettingsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
>
</li>
</ul>
<div v-if="sdkSettings().length > 0">
<div v-if="sdkSettings().length > 0 && $page.plugins.keywords.includes('meltano_sdk')">
<details>
<summary class="text-xl pb-4 pt-4 font-bold font-hg">Expand To Show SDK Settings</summary>
<ul class="list-disc list-inside pl-4">
Expand Down Expand Up @@ -84,7 +84,7 @@
><code >meltano config {{ name }} set {{ setting.name.replace(".", " ") }} [value]</code></pre>
</span>

<div v-if="sdkSettings().length > 0">
<div v-if="sdkSettings().length > 0 && $page.plugins.keywords.includes('meltano_sdk')">
<details
:open="sdkSettings().some((setting) => getSettingHref(setting) === this.$route.hash)"
>
Expand Down

0 comments on commit 43aac0e

Please sign in to comment.