Change contactsmenu structure to a list

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
julia.kirschenheuter 2023-03-24 15:56:52 +01:00
parent fda9d4d0c1
commit db0670f0cb
5 changed files with 12 additions and 7 deletions

View File

@ -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,

4
dist/core-login.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long