Files
nextcloud-server-mirror/core/src/components/ContactsMenu.js
T
Ferdinand Thiessen b0df06d533 chore!(core): remove deprecated jQuery and jQuery UI
"jQuery is deprecated and will be removed with Nextcloud 19"
Well... At least it is removed now 😉

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-17 12:51:42 +01:00

27 lines
693 B
JavaScript

/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
import ContactsMenu from '../views/ContactsMenu.vue'
import ContactsMenuService from '../services/ContactsMenuService.ts'
/**
* Set up the contacts menu component ("ContactsMenu")
* This is the menu where users can access their contacts or other users on this instance.
*/
export function setUp() {
const mountPoint = document.getElementById('contactsmenu')
if (mountPoint) {
window.OC.ContactsMenu = new ContactsMenuService()
new Vue({
name: 'ContactsMenuRoot',
el: mountPoint,
render: (h) => h(ContactsMenu),
})
}
}