Merge branch 'preordercampaign-add-caching' into 'master'
fixed issue in preordercampaign that the total unit count * 2 See merge request fronk/thetool!1079
This commit is contained in:
@@ -41,7 +41,7 @@ Vue.component('Preordercampaign', {
|
||||
</template>
|
||||
<template v-if="campaign.count_total_units.total_unit_count > 0">
|
||||
<span>Gesamt:</span><span>{{ campaign.active_preorder_count.total_count }} /</span>
|
||||
<span>{{ campaign.count_total_units.total_unit_count * 2 }}</span>
|
||||
<span>{{ campaign.count_total_units.total_unit_count }}</span>
|
||||
<span>({{ ((campaign.active_preorder_count.total_count / (campaign.count_total_units.total_unit_count * 2)) * 100 || 0).toFixed(1) }} %)</span>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user