added refresh button
This commit is contained in:
parent
6d5494a851
commit
4bbeac677d
@ -28,6 +28,9 @@
|
||||
</details>
|
||||
|
||||
<span>
|
||||
<br>
|
||||
<div><button @click="getCredits(); getPricingInfo();">Refresh Credits</button></div>
|
||||
<br>
|
||||
<div v-if="RegExp('^[0-9]+$').test(ownedNumber)"><span>Phone Number: </span>{{ formatPhone(ownedNumber) }}</div>
|
||||
<div v-else><span>Phone Number: </span>{{ ownedNumber }}</div>
|
||||
</span>
|
||||
@ -44,7 +47,7 @@
|
||||
<tbody>
|
||||
<tr v-for="(number,i) in availableNumbers" :key="i">
|
||||
<th scope="row" v-if="number">{{ formatPhone(number) }}</th>
|
||||
<td><button @click="buyNum" v-if="number" :data-number="number">Buy</button></td>
|
||||
<td><button @click="buyNum" v-if="number" :data-number="number">Buy (360 credits)</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user