Fixed 'summmitevents.js

This commit is contained in:
niclaz 2024-08-22 22:06:22 +02:00 committed by GitHub
parent f70eeb5be8
commit cf63765828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ export function nameRenderer (item, full = false) {
switch (item.type) { switch (item.type) {
case 'summit': case 'summit':
//num = item.id.match(/^w3ps(\d+)$/)[1] //num = item.id.match(/^w3ps(\d+)$/)[1]
return `Summmit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '') return `Summit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
break; break;
case 'meetup': case 'meetup':
//num = item.id.match(/(\d+)$/) //num = item.id.match(/(\d+)$/)