mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
Adding Congress to nameRenderer function in events.js
This commit is contained in:
parent
c17ceda575
commit
6359a0afa9
1 changed files with 4 additions and 0 deletions
|
@ -291,6 +291,10 @@ export function nameRenderer (item, full = false) {
|
||||||
//num = item.id.match(/^w3ps(\d+)$/)[1]
|
//num = item.id.match(/^w3ps(\d+)$/)[1]
|
||||||
return `Summit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
|
return `Summit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
|
||||||
break;
|
break;
|
||||||
|
case 'congress':
|
||||||
|
//num = item.id.match(/^w3ps(\d+)$/)[1]
|
||||||
|
return `Congress ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
|
||||||
|
break;
|
||||||
case 'meetup':
|
case 'meetup':
|
||||||
//num = item.id.match(/(\d+)$/)
|
//num = item.id.match(/(\d+)$/)
|
||||||
return `Meetup ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
|
return `Meetup ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
|
||||||
|
|
Loading…
Reference in a new issue