From 77016910fd51354b51b0bad1f4f85372a9d7b9fd Mon Sep 17 00:00:00 2001 From: onsaliyo Date: Wed, 31 Mar 2021 13:22:25 +0200 Subject: [PATCH] Quitados errores de import --- src/app/discoteca.ts | 6 +++--- src/app/tab1/tab1.page.ts | 1 - src/app/view-evento/view-evento.page.ts | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/app/discoteca.ts b/src/app/discoteca.ts index 8438b79..3a8af22 100644 --- a/src/app/discoteca.ts +++ b/src/app/discoteca.ts @@ -1,5 +1,5 @@ -import {Evento} from './evento'; +import {Eventoi} from './interfaces/eventoi'; export class Discoteca { @@ -7,7 +7,7 @@ export class Discoteca { private nombre: string; private telefono: number; private localizacion: string; - private eventos: Evento[]; + private eventos: Eventoi[]; private descripcion: string; setId(id: number): void{ @@ -42,7 +42,7 @@ export class Discoteca { return this.localizacion } - getEventos(): Evento[]{ + getEventos(): Eventoi[]{ return this.eventos; } diff --git a/src/app/tab1/tab1.page.ts b/src/app/tab1/tab1.page.ts index b29c1e3..d88894b 100644 --- a/src/app/tab1/tab1.page.ts +++ b/src/app/tab1/tab1.page.ts @@ -6,7 +6,6 @@ import { PerfilDiscotecaPage } from '../perfil-discoteca/perfil-discoteca.page' import { IonSlides} from '@ionic/angular'; import { AlertController } from '@ionic/angular'; import { ViewChild } from '@angular/core'; -import { Evento } from '../evento'; import { Router } from '@angular/router'; import { from } from 'rxjs'; diff --git a/src/app/view-evento/view-evento.page.ts b/src/app/view-evento/view-evento.page.ts index 1fb6d97..dedf96c 100644 --- a/src/app/view-evento/view-evento.page.ts +++ b/src/app/view-evento/view-evento.page.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { Evento } from '../evento'; +import { Eventoi } from '../interfaces/eventoi'; import { Tab1Service } from '../tab1/tab1.service'; @Component({ @@ -9,7 +9,7 @@ import { Tab1Service } from '../tab1/tab1.service'; }) export class ViewEventoPage implements OnInit { - evento: Evento; + evento: Eventoi; constructor(private tab1Service: Tab1Service) { }