make them nameKeys

This commit is contained in:
j 2024-03-08 11:53:08 +00:00
parent 7341b00d0c
commit 505e300e60
1 changed files with 7 additions and 7 deletions

View File

@ -18,19 +18,19 @@ pandora.ui.documentInfoView = function(data, isMixed) {
iconHeight = iconRatio < 1 ? iconSize : Math.round(iconSize / iconRatio),
iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0,
margin = 16,
nameKeys = pandora.site.documentKeys.filter(function(key) {
return key.sortType == 'person';
}).map(function(key) {
return key.id;
}),
listKeys = [
nameKeys = [
"group",
"source"
].concat(pandora.site.documentKeys.filter(function(key) {
return key.sortType == 'person';
}).map(function(key) {
return key.id;
})),
listKeys = pandora.site.documentKeys.filter(function(key) {
return Ox.isArray(key.type);
}).map(function(key){
return key.id;
})),
}),
statisticsWidth = 128,
$bar = Ox.Bar({size: 16})