ngOnInit()

in app/src/app/pages/document/document.component.ts [30:42]


  ngOnInit() {
    this.mongodb.isReadOnly().subscribe(({ readOnly }) => {
      this.readOnly = readOnly;
    });
    this.activatedRoute.paramMap.subscribe((d) => {
      this.server     = d.get("server");
      this.database   = d.get("database");
      this.collection = d.get("collection");
      this.document   = d.get("document");

      this.get();
    })
  }