fix: change region when clicking on a favorite from homepage

This commit is contained in:
Valentin Kaelin 2020-02-13 21:18:44 +01:00
parent 8fffd9c10f
commit d77ade8156

View file

@ -37,7 +37,11 @@
<div class="playing-dot bg-teal-flashy w-2 h-2 rounded-full"></div> <div class="playing-dot bg-teal-flashy w-2 h-2 rounded-full"></div>
<span class="ml-2 text-teal-flashy font-semibold text-sm">In Game</span> <span class="ml-2 text-teal-flashy font-semibold text-sm">In Game</span>
</div> </div>
<div v-if="false" class="ml-4 mt-2 inline-flex items-center px-2 py-1 border border-teal-500 rounded leading-tight" style="background: rgba(40, 94, 97, 0.35);"> <div
v-if="false"
class="ml-4 mt-2 inline-flex items-center px-2 py-1 border border-teal-500 rounded leading-tight"
style="background: rgba(40, 94, 97, 0.35);"
>
<svg class="w-4 h-4 text-teal-600"> <svg class="w-4 h-4 text-teal-600">
<use xlink:href="#star" /> <use xlink:href="#star" />
</svg> </svg>
@ -173,6 +177,7 @@ export default {
}, },
created() { created() {
this.updateSettings({ name: 'region', value: this.region.toLowerCase() })
this.apiCall() this.apiCall()
}, },