mirror of
https://github.com/nextcloud/server.git
synced 2024-08-06 15:06:39 +02:00
Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
parent
fda9d4d0c1
commit
db0670f0cb
@ -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
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user