Skip to content

Commit

Permalink
add Gitea subtitle fallback and dummy data
Browse files Browse the repository at this point in the history
I omitted most of the 0.5MiB Gitea/Foregejo API reponse for brevity.
  • Loading branch information
meonkeys committed Nov 25, 2024
1 parent 7909bd1 commit 9348c0b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/services/Gitea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<template #content>
<p class="title is-4">{{ item.name }}</p>
<p class="subtitle is-6">
<template v-if="versionstring">
<template v-if="item.subtitle">
{{ item.subtitle }}
</template>
<template v-else-if="versionstring">
Version {{ versionstring }}
</template>
</p>
Expand Down
11 changes: 11 additions & 0 deletions swagger.v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"info": {
"description": "This documentation describes the Forgejo API.",
"title": "Forgejo API",
"license": {
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
"version": "8.0.3+gitea-1.22.0"
}
}

0 comments on commit 9348c0b

Please sign in to comment.