mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user