Browse Source

Add form clear label

pull/1251/head
Hironsan 3 years ago
parent
commit
b2b2ee2f67
1 changed files with 21 additions and 0 deletions
  1. 21
      frontend/components/tasks/toolbar/forms/FormClearLabel.vue

21
frontend/components/tasks/toolbar/forms/FormClearLabel.vue

@ -0,0 +1,21 @@
<template>
<confirm-form
title="Clear annotations"
message="Are you sure you want to delete all annotations?"
:button-true-text="$t('generic.yes')"
:button-false-text="$t('generic.cancel')"
@ok="$emit('click:ok')"
@cancel="$emit('click:cancel')"
/>
</template>
<script lang="ts">
import Vue from 'vue'
import ConfirmForm from '@/components/utils/ConfirmForm.vue'
export default Vue.extend({
components: {
ConfirmForm
}
})
</script>
Loading…
Cancel
Save