Merge pull request #37421 from nextcloud/fix/36916-The_list_of_contacts_represents_a_list,_but_it_was_not_marked_as_such

Change contactsmenu structure to a list
pull/37425/head
Julia Kirschenheuter 2023-03-27 13:28:49 +07:00 committed by GitHub
commit 1e85cb135e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 7 deletions

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

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