finish linting client

This commit is contained in:
Matteo Pagliazzi
2019-10-13 18:04:04 +02:00
parent c1ea91803c
commit a0e5a56bf2
105 changed files with 804 additions and 316 deletions

View File

@@ -50,6 +50,7 @@
</base-notification>
</template>
<!-- eslint-disable max-len -->
<style lang="scss" scoped>
.background {
position: relative;
@@ -157,6 +158,7 @@
color: #fff;
}
</style>
<!-- eslint-enable max-len -->
<script>
import * as quests from '@/../../common/script/content/quests';
@@ -183,10 +185,6 @@ export default {
worldBoss: {},
};
},
async mounted () {
const result = await this.$store.dispatch('worldState:getWorldState');
this.worldBoss = result.worldBoss;
},
computed: {
...mapState({ user: 'user.data' }),
bossHp () {
@@ -196,6 +194,10 @@ export default {
return this.questData.boss.hp.toLocaleString();
},
},
async mounted () {
const result = await this.$store.dispatch('worldState:getWorldState');
this.worldBoss = result.worldBoss;
},
methods: {
action () {
this.$router.push({ name: 'tavern' });