mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-08 16:22:46 +01:00
Fix ticket view mounting
This commit is contained in:
@@ -117,7 +117,6 @@
|
|||||||
<v-card-title>Select new Template</v-card-title>
|
<v-card-title>Select new Template</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<v-select
|
<v-select
|
||||||
v-if="templates"
|
|
||||||
label="Template"
|
label="Template"
|
||||||
:items="templates"
|
:items="templates"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
@@ -455,7 +454,6 @@
|
|||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<v-select
|
<v-select
|
||||||
v-if="playbooks"
|
|
||||||
:items="playbooks"
|
:items="playbooks"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
@@ -1553,11 +1551,10 @@ export default Vue.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.$route.params.id === 'new') {
|
if (this.$route.params.id !== 'new') {
|
||||||
return
|
this.loadTicket();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.loadTicket();
|
|
||||||
API.listUsers().then(response => {
|
API.listUsers().then(response => {
|
||||||
this.users = response.data;
|
this.users = response.data;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user