Hide the region dropdown when there aren't any active festivals

There isn't really any point in showing this dropdown unless a festival is active since that's the only regional difference.
This also moves the "SplatNet Gear" button to the right side of the screen.
This commit is contained in:
Matt Isenhower
2017-08-24 12:27:32 -07:00
parent f2a26dd79f
commit 94bbae9ffa

View File

@@ -19,16 +19,19 @@
</div>
<div class="level">
<div class="level-left">
<div class="level-item" style="padding-top: 10px" v-if="merchandises && merchandises.length">
<div class="level-left"></div>
<div class="level-right">
<div class="level-item" v-if="merchandises && merchandises.length">
<button class="button is-translucent-dark is-rounded" @click="splatNetGearOpen = true">
<span class="font-splatoon2">SplatNet Gear</span>
</button>
</div>
</div>
<div class="level-right">
<div class="level-item">
<div class="level-item" v-if="festival">
<!-- Empty spacer to add some room when festivals are active -->
</div>
<div class="level-item" v-if="festival">
<Dropdown :options="regions" v-model="selectedRegionKey" style="margin: 0 -12px"></Dropdown>
</div>
</div>