Add else block so items with warning notes will not display sell options (#10965)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
4f1d4aa73a
commit
732a46d2db
@@ -25,19 +25,20 @@
|
||||
div.text {{ item.sellWarningNote() }}
|
||||
br
|
||||
|
||||
div(v-once)
|
||||
div.text {{ item.notes() }}
|
||||
div(v-else)
|
||||
div(v-once)
|
||||
div.text {{ item.notes() }}
|
||||
|
||||
div
|
||||
b.how-many-to-sell {{ $t('howManyToSell') }}
|
||||
div
|
||||
b.how-many-to-sell {{ $t('howManyToSell') }}
|
||||
|
||||
div
|
||||
b-input.itemsToSell(type="number", v-model="selectedAmountToSell", :max="itemContextToSell.itemCount", min="1", @keyup.native="preventNegative($event)", step="1")
|
||||
div
|
||||
b-input.itemsToSell(type="number", v-model="selectedAmountToSell", :max="itemContextToSell.itemCount", min="1", @keyup.native="preventNegative($event)", step="1")
|
||||
|
||||
span.svg-icon.inline.icon-32(aria-hidden="true", v-html="icons.gold")
|
||||
span.value {{ item.value }}
|
||||
span.svg-icon.inline.icon-32(aria-hidden="true", v-html="icons.gold")
|
||||
span.value {{ item.value }}
|
||||
|
||||
button.btn.btn-primary(@click="sellItems()") {{ $t('sell') }}
|
||||
button.btn.btn-primary(@click="sellItems()") {{ $t('sell') }}
|
||||
|
||||
div.clearfix(slot="modal-footer")
|
||||
span.balance.float-left {{ $t('yourBalance') }}
|
||||
|
||||
Reference in New Issue
Block a user