osb/spark/resources/assets/js/navbar/navbar.js
2017-11-03 16:26:07 +11:00

25 lines
475 B
JavaScript
Vendored

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');
}
}
};