Skip to content

Commit

Permalink
fix: now templates can be deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
jvJUCA committed Apr 22, 2024
1 parent 7a5aeb7 commit 403ccd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/molecules/TemplateInfoDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
template.header.templateVersion == '1.0.0'
? ` on ${getFormattedDate(template.header.creationDate)}`
: ` - Last updated: ${getFormattedDate(
template.header.updateDate,
)}`
template.header.updateDate,
)}`
}}
({{
$t('pages.listTests.version') +
Expand Down Expand Up @@ -185,7 +185,7 @@ export default {
methods: {
async deleteTemplate() {
if (!confirm($t('alerts.deleteTest'))) return
if (!confirm('are you sure, you to delete the template?')) return
await this.$store.dispatch('deleteTemplate', this.template.id)
this.reset()
Expand Down

0 comments on commit 403ccd7

Please sign in to comment.