mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
ui: Fix failure in deletion of templates (#5283)
This commit is contained in:
parent
b6350be6ec
commit
f9fbd86efe
@ -382,6 +382,9 @@ export default {
|
||||
}
|
||||
},
|
||||
deleteTemplate (template) {
|
||||
if (!template.id) {
|
||||
template = this.currentRecord
|
||||
}
|
||||
const params = {
|
||||
id: template.id,
|
||||
forced: this.forcedDelete,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user