mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-01-06 05:40:09 -06:00
Fix #326
This commit is contained in:
@@ -132,7 +132,7 @@ export class GrampsjsReportOptions extends GrampsjsAppStateMixin(LitElement) {
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
_renderSelectItem(key, value) {
|
||||
const splt = key.split('\t')
|
||||
const splt = key.split(/\t+/)
|
||||
const selected = splt[0] === `${value}` || splt[0] === 'pdf'
|
||||
return html`
|
||||
<mwc-list-item value="${splt[0]}" ?selected=${selected}
|
||||
|
||||
Reference in New Issue
Block a user