push
github
56 of 145 branches covered (38.62%)
48 of 50 new or added lines in 5 files covered. (96.0%)
3395 existing lines in 78 files now uncovered.8599 of 20189 relevant lines covered (42.59%)
701.76 hits per line
UNCOV
1
|
<script setup> |
|
UNCOV
2
|
|
× |
UNCOV
3
|
import { useCountriesStore } from "@/store/countries";
|
× |
UNCOV
4
|
import { useI18n } from "vue-i18n";
|
× |
UNCOV
5
|
import ConfigTable from "@/components/ConfigTable.vue";
|
× |
UNCOV
6
|
|
× |
UNCOV
7
|
const { t } = useI18n();
|
× |
UNCOV
8
|
const COLUMNS = [
|
× |
UNCOV
9
|
{ key: "short_name", type: "text", head: t("Code") }, |
× |
UNCOV
10
|
{ key: "name", type: "text", head: t("Name") }, |
× |
UNCOV
11
|
]; |
× |
UNCOV
12
|
|
× |
13 |
const store = useCountriesStore();
|
× |
UNCOV
14
|
|
× |
UNCOV
15
|
</script> |
× |
16 |
|
× |
17 |
<template>
|
× |
UNCOV
18
|
<h1 class="listtop">{{ t("Configure countries") }}</h1> |
× |
UNCOV
19
|
<ConfigTable |
× |
UNCOV
20
|
:columns="COLUMNS"
|
× |
UNCOV
21
|
:store="store"
|
× |
UNCOV
22
|
storeId="short_name"
|
× |
UNCOV
23
|
editRole="country_edit"
|
× |
UNCOV
24
|
createRole="country_create" />
|
× |
UNCOV
25
|
</template>
|
× |