Show slug in the interface

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-04-11 14:57:13 +02:00
parent c64d4924d1
commit fb145d1033
3 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ export const FETCH_EVENT = gql`
url,
local,
title,
slug,
description,
beginsOn,
endsOn,

View File

@ -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;

View File

@ -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">