Merge pull request #1585 from cryptpad/teams-fixes

Teams Card List
This commit is contained in:
yflory 2024-08-28 17:06:37 +02:00 committed by GitHub
commit faedbb06f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -477,7 +477,7 @@ define([
created++;
}
if (team.empty) {
var createTeamDiv = h('div.cp-team-list-team.empty'+createCls,{
var createTeamDiv = h('li.cp-team-list-team.empty'+createCls,{
tabindex: '0'
}, [
h('span.cp-team-list-name.empty', Messages.team_listSlot),
@ -494,7 +494,7 @@ define([
return;
}
var avatar = h('span.cp-avatar');
var teamDiv = h('div.cp-team-list-team',{
var teamDiv = h('li.cp-team-list-team',{
tabindex: '0'
}, [
h('span.cp-team-list-avatar', avatar),
@ -514,7 +514,7 @@ define([
}
});
});
content.push(h('div.cp-team-list-container', list));
content.push(h('ul.cp-team-list-container', list));
cb(content);
});
return content;