Skip to content

Commit

Permalink
Explicitly set credential value, add conditional example input
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 3, 2024
1 parent 095f43f commit 5673982
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions public/galaxy-charts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,48 @@
<type>boolean</type>
<optional>true</optional>
</input>
<input>
<name>setting_conditional</name>
<type>conditional</type>
<test_param>
<name>test_condition</name>
<label>Setting: Condition</label>
<type>select</type>
<value>true</value>
<data>
<data>
<value>true</value>
<label>Condition: True</label>
</data>
<data>
<value>false</value>
<label>Condition: False</label>
</data>
</data>
</test_param>
<cases>
<cases>
<value>true</value>
<inputs>
<inputs>
<label>Case True: Input</label>
<name>case_true</name>
<type>text</type>
</inputs>
</inputs>
</cases>
<cases>
<value>false</value>
<inputs>
<inputs>
<label>Case False: Input</label>
<name>case_false</name>
<type>text</type>
</inputs>
</inputs>
</cases>
</cases>
</input>
</settings>
<tracks>
<input>
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default defineConfig({
},
},
define: {
"process.env.credentials": GALAXY_KEY ? JSON.stringify("omit") : null,
"process.env.credentials": JSON.stringify(GALAXY_KEY ? "omit" : "include"),
},
plugins: [vue(), tailwindcss(), libInjectCss()],
resolve: {
Expand Down

0 comments on commit 5673982

Please sign in to comment.