Adding Username (#2424)
This commit is contained in:
parent
0b9f6124e9
commit
399f4978f8
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ const ShowLinks = (eventLinks: IEventTypes[] | undefined, username: string) => {
|
||||||
Blocks.Divider(),
|
Blocks.Divider(),
|
||||||
eventLinks.map((links) =>
|
eventLinks.map((links) =>
|
||||||
Blocks.Section({
|
Blocks.Section({
|
||||||
text: `${links.title} | ${WEBAPP_URL}/${links.slug}`,
|
text: `${links.title} | ${WEBAPP_URL}/${username}/${links.slug}`,
|
||||||
}).accessory(Elements.Button({ text: "Open", url: `${WEBAPP_URL}/${links.slug}` }))
|
}).accessory(Elements.Button({ text: "Open", url: `${WEBAPP_URL}/${username}/${links.slug}` }))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.buildToJSON();
|
.buildToJSON();
|
||||||
|
|
Loading…
Reference in a new issue