Initial Spark Install
This commit is contained in:
24
spark/resources/assets/js/navbar/navbar.js
vendored
Normal file
24
spark/resources/assets/js/navbar/navbar.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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');
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user