diff --git a/src/components/VSkeleton.global.vue b/src/components/VSkeleton.global.vue new file mode 100644 index 0000000..3bf6622 --- /dev/null +++ b/src/components/VSkeleton.global.vue @@ -0,0 +1,49 @@ + + + diff --git a/src/modules/otus/components/TaxaInfo.vue b/src/modules/otus/components/TaxaInfo.vue index a41b3bb..472e77c 100644 --- a/src/modules/otus/components/TaxaInfo.vue +++ b/src/modules/otus/components/TaxaInfo.vue @@ -5,11 +5,11 @@

- - - props.taxon.cached_is_valid - ? '' - : '✕' +const status = computed(() => (props.taxon.cached_is_valid ? '' : '✕')) +const statusStyle = computed(() => + props.taxon.cached_is_valid ? '' : 'text-red-600' ) -const statusStyle = computed(() => - props.taxon.cached_is_valid - ? '' - : 'text-red-600' -) - diff --git a/src/modules/otus/views/Index.vue b/src/modules/otus/views/Index.vue index c41ab6b..adec8dc 100644 --- a/src/modules/otus/views/Index.vue +++ b/src/modules/otus/views/Index.vue @@ -5,12 +5,14 @@
- + + +
- + + +