@@ -97,7 +97,6 @@ function getFees() { | |||||
}).then (result => { | }).then (result => { | ||||
if (!result || !result.length) return // Exit if token is invalid or no fees are saved | if (!result || !result.length) return // Exit if token is invalid or no fees are saved | ||||
this.fees = result | this.fees = result | ||||
console.log("the result %O", result) | |||||
}) | }) | ||||
} | } | ||||
@@ -10,7 +10,7 @@ | |||||
:key="fee.name + indx" class="fee" | :key="fee.name + indx" class="fee" | ||||
> | > | ||||
<label @click="() => edit = fee"> | <label @click="() => edit = fee"> | ||||
${{fee.amount}}{{fee.perc && ` (${fee.perc}%)`}} - {{fee.name}}<br> | |||||
${{fee.amount}}{{ fee.perc ? ` ${fee.perc}%` : ''}} - {{fee.name}}<br> | |||||
{{fee.type}} | {{fee.type}} | ||||
</label> | </label> | ||||
<img width="21" height="21" src="/assets/image/icon/x-red.svg" | <img width="21" height="21" src="/assets/image/icon/x-red.svg" | ||||
@@ -7,6 +7,9 @@ | |||||
<h3>Announcements</h3> | <h3>Announcements</h3> | ||||
</section> | </section> | ||||
<section> | |||||
<div><span>Subscription : {{user.status}}</span> <button>UPGRADE</button></div> | |||||
</section> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
@@ -139,7 +139,7 @@ v-model="estimate.transaction"> | |||||
:key="fee.name + indx" class="fee" | :key="fee.name + indx" class="fee" | ||||
> | > | ||||
<label> | <label> | ||||
${{fee.amount}}{{fee.perc && ` (${fee.perc}%)`}} - {{fee.name}}<br> | |||||
${{fee.amount}}{{ fee.perc ? ` ${fee.perc}%` : ''}} - {{fee.name}}<br> | |||||
{{fee.type}} | {{fee.type}} | ||||
</label> | </label> | ||||
<img width="21" height="21" src="/assets/image/icon/x-red.svg" | <img width="21" height="21" src="/assets/image/icon/x-red.svg" | ||||