import { Component, OnDestroy, OnInit } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IServerModel } from '@fleio-api/servers/model/server.model';
import { ActivatedRoute } from '@angular/router';
import { JournalListUiService } from '../journal-list-ui.service';

@Component({
  selector: 'app-journal-edit',
  templateUrl: './journal-edit.component.html',
  styleUrls: ['./journal-edit.component.scss']
})
export class JournalEditComponent extends DetailsBase<IServerModel> implements OnInit, OnDestroy {

  constructor(route: ActivatedRoute, journalListUiService: JournalListUiService) {
    super(route, journalListUiService, 'edit', 'journalEntry');
  }
}
