All files / src/components/navigation/measurement MeasurementPolygonSnackbar.vue

100% Statements 7/7
100% Branches 4/4
100% Functions 4/4
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27    2x     6x           1x   5x                 30x   30x    
<template>
  <v-snackbar
    v-model="modelValue"
    variant="flat"
  >
    <span class="shark-950 text-center">{{ t('texts.polygonToolHelp') }}</span>
    <template #actions>
      <v-btn
        class="ml-auto"
        color="minsk_900"
        variant="flat"
        @click="modelValue = false"
      >
        <span>{{ t('labels.close') }}</span>
      </v-btn>
    </template>
  </v-snackbar>
</template>
 
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
 
const { t } = useI18n();
 
const modelValue = defineModel<boolean>({ default: false });
</script>