Skip to content

Commit

Permalink
✨ Feature: add alias for plugin config name
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed May 12, 2019
1 parent e38e6f0 commit 5a06483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/components/ConfigForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
>
<el-form-item
v-for="(item, index) in configList"
:label="item.name"
:label="item.alias || item.name"
:required="item.required"
:prop="item.name"
:key="item.name + index"
Expand All @@ -26,7 +26,7 @@
:placeholder="item.message || item.name"
>
<el-option
v-for="(choice, idx) in item.choices"
v-for="choice in item.choices"
:label="choice.name || choice.value || choice"
:key="choice.name || choice.value || choice"
:value="choice.value || choice"
Expand All @@ -40,7 +40,7 @@
collapse-tags
>
<el-option
v-for="(choice, idx) in item.choices"
v-for="choice in item.choices"
:label="choice.name || choice.value || choice"
:key="choice.value || choice"
:value="choice.value || choice"
Expand Down

0 comments on commit 5a06483

Please sign in to comment.