Skip to content

Confirm disk detach on instance storage tab #2613

@david-crespo

Description

@david-crespo

Need a confirmAction here.

{
label: 'Detach',
disabled: !instanceCan.detachDisk({ runState: disk.instanceState }) && (
<>
Instance must be <span className="text-raise">stopped</span> before disk can be
detached
</>
),
onActivate() {
detachDisk({ body: { disk: disk.name }, path: { instance: instance.id } })
},
},

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions