Remove floor

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-11-06 12:51:17 +01:00
parent 3d2f9e1ad8
commit 0e7cf89492
15 changed files with 17 additions and 28 deletions

View File

@@ -8,7 +8,6 @@ export const ADDRESS = gql`
id,
description,
geom,
floor,
street,
locality,
postalCode,

View File

@@ -18,7 +18,6 @@ const participantQuery = `
const physicalAddressQuery = `
description,
floor,
street,
locality,
postalCode,

View File

@@ -1,7 +1,6 @@
export interface IAddress {
id?: number;
description: string;
floor: string;
street: string;
locality: string;
postalCode: string;
@@ -15,7 +14,6 @@ export interface IAddress {
export class Address implements IAddress {
country: string = '';
description: string = '';
floor: string = '';
locality: string = '';
postalCode: string = '';
region: string = '';

View File

@@ -116,7 +116,7 @@ import {ParticipantRole} from "@/types/event.model";
<div class="address" v-if="event.physicalAddress">
<address>
<span class="addressDescription" :title="event.physicalAddress.description">{{ event.physicalAddress.description }}</span>
<span>{{ event.physicalAddress.floor }} {{ event.physicalAddress.street }}</span>
<span>{{ event.physicalAddress.street }}</span>
<span>{{ event.physicalAddress.postalCode }} {{ event.physicalAddress.locality }}</span>
</address>
<span class="map-show-button" @click="showMap = !showMap" v-if="event.physicalAddress && event.physicalAddress.geom">