/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/docs/src/components/app/settings/LatestCommit.vue
22 строки
537 B
John Leider
docs(commits): handle failing more gracefully
11 мар 2025, 18:01
11 мар 2025, 18:01
b3d0763
Код
Авторство
О чём код?
<template> <AppListLinkListItem v-if="commits.latest?.sha" :href="`https://github.com/vuetifyjs/vuetify/commit/${commits.latest.sha}`" :label="t('latest-commit')" :title="commits.latest.sha.slice(0, 7)" append-icon="mdi-open-in-new" min-width="90" prepend-icon="mdi-source-commit" rel="noopener noreferrer" target="_blank" /> </template> <script setup> const commits = useCommitsStore() const { t } = useI18n() onBeforeMount(() => { if (!commits.latest) commits.fetch() }) </script>