import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IVolumeModel } from '@fleio-api/openstack/model/volume.model';
import { ActivatedRoute } from '@angular/router';
import { VolumeListUIService } from '../volume-list-ui.service';

@Component({
  selector: 'app-volume-upload-to-image',
  templateUrl: './volume-upload-to-image.component.html',
  styleUrls: ['./volume-upload-to-image.component.scss']
})
export class VolumeUploadToImageComponent extends DetailsBase<IVolumeModel> {
  constructor(route: ActivatedRoute, volumeListUIService: VolumeListUIService) {
    super(
      route, volumeListUIService, 'upload-to-image', 'volume',
      ['imageCreateOptions'],
    );
  }
}
