Show slug in the interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
ddad462076
commit
1f9019f511
@ -18,6 +18,7 @@ export const FETCH_EVENT = gql`
|
||||
url,
|
||||
local,
|
||||
title,
|
||||
slug,
|
||||
description,
|
||||
beginsOn,
|
||||
endsOn,
|
||||
|
@ -49,6 +49,7 @@ export interface IEvent {
|
||||
local: boolean;
|
||||
|
||||
title: string;
|
||||
slug: string;
|
||||
description: string;
|
||||
category: Category;
|
||||
|
||||
@ -77,6 +78,7 @@ export interface IEvent {
|
||||
export class EventModel implements IEvent {
|
||||
beginsOn: Date = new Date();
|
||||
category: Category = Category.MEETING;
|
||||
slug: string = '';
|
||||
description: string = '';
|
||||
endsOn: Date = new Date();
|
||||
joinOptions: EventJoinOptions = EventJoinOptions.FREE;
|
||||
|
@ -46,8 +46,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<p class="slug">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
In aliquam libero quam, ut ultricies velit porttitor a. Maecenas mollis vestibulum dolor.
|
||||
{{ event.slug }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="column sidebar">
|
||||
|
Loading…
Reference in New Issue
Block a user