summaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-03-24 15:56:52 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-03-27 10:48:59 +0200
commitdb0670f0cb1d1bcebfa15bd1f5d4056b5ecaf46c (patch)
tree9cba46f33282ab734dface478c16a463d6419eb4 /core/src/OC
parentfda9d4d0c1ade494a4ea380da0ee2470a2a4d14f (diff)
downloadnextcloud-server-db0670f0cb1d1bcebfa15bd1f5d4056b5ecaf46c.tar.gz
nextcloud-server-db0670f0cb1d1bcebfa15bd1f5d4056b5ecaf46c.zip
Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/contactsmenu.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js
index b915a3f160c..c5a9cfcef7a 100644
--- a/core/src/OC/contactsmenu.js
+++ b/core/src/OC/contactsmenu.js
@@ -83,6 +83,9 @@ const ContactsListView = View.extend({
/** @type {array} */
_subViews: [],
+ /** @type {string} */
+ tagName: 'ul',
+
/**
* @param {object} options
* @returns {undefined}
@@ -98,7 +101,6 @@ const ContactsListView = View.extend({
var self = this
self.$el.html('')
self._subViews = []
-
self._collection.forEach(function(contact) {
var item = new ContactsListItemView({
model: contact
@@ -134,6 +136,9 @@ const ContactsListItemView = View.extend({
/** @type {string} */
className: 'contact',
+ /** @type {string} */
+ tagName: 'li',
+
/** @type {undefined|function} */
_template: undefined,