diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2024-01-02 14:18:08 +0100 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2024-01-02 14:18:08 +0100 |
commit | 045ede542e12efde6d9903d86d930b787ff08bf4 (patch) | |
tree | deb8e032eb3a2e10922736800fa128d8fba5bcaa /src/components/AppContent | |
parent | ebe8c8078b6f421084331886cca5e304da9ce4ec (diff) |
chore(vue3): migrate event buses to mitt
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'src/components/AppContent')
-rw-r--r-- | src/components/AppContent/ContactsContent.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppContent/ContactsContent.vue b/src/components/AppContent/ContactsContent.vue index 3a82ced2..4549f565 100644 --- a/src/components/AppContent/ContactsContent.vue +++ b/src/components/AppContent/ContactsContent.vue @@ -84,7 +84,7 @@ import ContactDetails from '../ContactDetails.vue' import ContactsList from '../ContactsList.vue' import IconContact from 'vue-material-design-icons/AccountMultiple.vue' import RouterMixin from '../../mixins/RouterMixin.js' -import Vue from 'vue' +import mitt from 'mitt' export default { name: 'ContactsContent', @@ -117,7 +117,7 @@ export default { return { searchQuery: '', // communication for ContactListItem and ContactDetails (reload avatar) - reloadBus: new Vue(), + reloadBus: mitt(), } }, |