osb/spark/resources/assets/js/navbar/navbar.js

25 lines
475 B
JavaScript
Raw Normal View History

2017-11-03 05:26:07 +00:00
module.exports = {
props: [
'user', 'teams', 'currentTeam',
'hasUnreadNotifications', 'hasUnreadAnnouncements'
],
methods: {
/**
* Show the user's notifications.
*/
showNotifications() {
Bus.$emit('showNotifications');
},
/**
* Show the customer support e-mail form.
*/
showSupportForm() {
Bus.$emit('showSupportForm');
}
}
};