define sections in one location

This commit is contained in:
j 2019-12-09 13:12:44 +00:00
commit 5168ed4a33
4 changed files with 11 additions and 16 deletions

View file

@ -395,6 +395,11 @@ appPanel
}) ? 'manual' : data.site.layers.some(function(layer) {
return layer.hasPlaces;
}) ? 'auto' : 'none',
sections: [
{id: 'items', title: Ox._(pandora.site.itemName.plural)},
{id: 'edits', title: Ox._('Edits')},
{id: 'documents', title: Ox._('Documents')}
],
sectionFolders: {
items: [
{id: 'personal', title: 'Personal Lists'},