fix mixed / no

This commit is contained in:
j 2023-08-12 17:43:36 +02:00
parent 7582d8a50c
commit 459f65154e

View file

@ -294,7 +294,7 @@ pandora.ui.infoView = function(data, isMixed) {
.append(
Ox.EditableContent({
editable: canEdit,
placeholder: formatLight(Ox._(isMixed ? 'Mixed Titles' : 'No title')),
placeholder: formatLight(Ox._(isMixed.title ? 'Mixed Titles' : 'No title')),
tooltip: canEdit ? pandora.getEditTooltip() : '',
value: data.title || ''
})
@ -494,7 +494,7 @@ pandora.ui.infoView = function(data, isMixed) {
.append(
Ox.EditableContent({
height: 128,
placeholder: formatLight(Ox._(isMixed ? 'Mixed Notes' : 'No notes')),
placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed Notes' : 'No notes')),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.notes || '',