Files
habitica/website/client/components/snackbars/notifications.vue
Keith Holliday 9fc7bae13e Quick group fixes (#9001)
* Added tavern background and fixed notification key

* Fixed notification on error response

* Fixed group plans header

* Updated images/icons in tavern
2017-08-28 18:39:32 -06:00

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>