We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf55ab commit d9c99caCopy full SHA for d9c99ca
web/src/views/project/template/TemplateTerraformState.vue
@@ -423,6 +423,10 @@ export default {
423
},
424
425
async loadStates() {
426
+ if (!this.inventoryId) {
427
+ this.states = [];
428
+ return;
429
+ }
430
this.states = (await axios.get(`/api/project/${this.template.project_id}/inventory/${this.inventoryId}/terraform/states`)).data;
431
432
@@ -441,6 +445,10 @@ export default {
441
445
442
446
443
447
async loadAliases() {
448
449
+ this.aliases = [];
450
451
444
452
try {
453
this.aliases = (await axios({
454
url: `/api/project/${this.template.project_id}/inventory/${this.inventoryId}/terraform/aliases`,
0 commit comments