import { Site } from 'src/app/core/interfaces/site/site';
import { Component, Input, OnInit } from '@angular/core';
import { environment } from 'src/environments/environment';

@Component({
  selector: 'app-modal-site',
  templateUrl: './modal-site.component.html',
  styleUrls: ['./modal-site.component.scss']
})
export class ModalSiteComponent implements OnInit {

  url = environment.BASE_URL_API;
  loading = true;
  @Input() isOpenModal: boolean = false;
  @Input() allyId!: number;
  display = 'none';
  ally: Site = {
    id: 1,
    name: ""
  };

  constructor() { }

  ngOnInit(): void {
  }

}
