Signed-off-by: Volker Theile <vtheile@suse.com>
trashRbdModal() {
const initialState = {
- metaType: 'RBD',
poolName: this.selection.first().pool_name,
namespace: this.selection.first().namespace,
imageName: this.selection.first().name
restoreModal() {
const initialState = {
- metaType: 'RBD',
poolName: this.selection.first().pool_name,
namespace: this.selection.first().namespace,
imageName: this.selection.first().name,
component = fixture.componentInstance;
httpTesting = TestBed.get(HttpTestingController);
- component.metaType = 'RBD';
component.poolName = 'foo';
component.imageName = 'bar';
styleUrls: ['./rbd-trash-move-modal.component.scss']
})
export class RbdTrashMoveModalComponent implements OnInit {
- metaType: string;
poolName: string;
namespace: string;
imageName: string;
styleUrls: ['./rbd-trash-restore-modal.component.scss']
})
export class RbdTrashRestoreModalComponent implements OnInit {
- metaType: string;
poolName: string;
namespace: string;
imageName: string;