FIX: notifications position with 2nd banner - WIP (#13556)

* FIX: notifications position with 2nd banner

* emit event when worldState is loaded

* fix heights / padding of notifications
This commit is contained in:
negue
2021-10-21 22:17:09 +02:00
committed by GitHub
parent 7646f7da9f
commit 7044c497a2
10 changed files with 138 additions and 30 deletions

View File

@@ -175,8 +175,12 @@ import BaseNotification from './base';
import health from '@/assets/svg/health.svg';
import sword from '@/assets/svg/sword.svg';
import { worldStateMixin } from '@/mixins/worldState';
export default {
mixins: [
worldStateMixin,
],
components: {
BaseNotification,
},
@@ -203,8 +207,8 @@ export default {
return this.questData.boss.hp.toLocaleString();
},
},
async mounted () {
await this.$store.dispatch('worldState:getWorldState');
mounted () {
this.triggerGetWorldState();
},
methods: {
action () {