import { Component, OnInit} from "@angular/core";
import { BsModalService } from "ngx-bootstrap/modal";
import { FlexModalComponent } from "../../../../../shared/common/FlexModal.component";

@Component({
  selector: "flex-course-modal",
  templateUrl: "./flex-course-modal.html",
  styleUrls: ["./flex-course-modal.scss"]
})
export class FlexCourseModal extends FlexModalComponent implements OnInit {
  public query = {
    query : ""
  };

  QUERY_URL = "pl/plCourse/page.htm";
  
  constructor(
    public bsModalService: BsModalService,
  ) {
    super(bsModalService);
  }
  ngOnInit() {}

  search(param) {
    param.query=this.query.query;
  }
}
