mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
* Added tavern background and fixed notification key * Fixed notification on error response * Fixed group plans header * Updated images/icons in tavern
31 lines
514 B
Vue
31 lines
514 B
Vue
<template lang="pug">
|
|
.notifications
|
|
div(v-for='notification in notifications')
|
|
notification(:notification='notification')
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.notifications {
|
|
position: fixed;
|
|
right: 10px;
|
|
top: 10px;
|
|
width: 350px;
|
|
z-index: 99999;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
import notification from './notification';
|
|
|
|
export default {
|
|
components: {
|
|
notification,
|
|
},
|
|
computed: {
|
|
notifications () {
|
|
return this.$store.state.notificationStore;
|
|
},
|
|
},
|
|
};
|
|
</script>
|