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 ddad462076
commit 1f9019f511
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
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">