Skip to content

Commit

Permalink
Rules editor - add X to column definitions inside edit mode.
Browse files Browse the repository at this point in the history
Previously these were only available in preview mode.
  • Loading branch information
jmchilton committed Apr 3, 2018
1 parent f473cbc commit 791d44e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/galaxy/scripts/components/RuleCollectionBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@
:col-headers="colHeaders"
:multiple="mappingTargets()[map.type].multiple"
:ordered="true"
:value-as-list="true" />
:value-as-list="true">
<span class="fa fa-times" @click="removeMapping(map.index)"></span>
</column-selector>
</div>
<div class="buttons">
<div class="btn-group" v-if="unmappedTargets.length > 0">
Expand Down Expand Up @@ -421,10 +423,12 @@ const ColumnSelector = {
<select2 :value="target" @input="handleInput" :multiple="multiple">
<option v-for="(col, index) in colHeaders" :value="index">{{ col }}</option>
</select2>
<slot></slot>
</label>
</div>
<div class="rule-column-selector" v-else>
{{ label }}
{{ label }}
<slot></slot>
<ol>
<li v-for="(targetEl, index) in target"
v-bind:index="index"
Expand Down

0 comments on commit 791d44e

Please sign in to comment.