Skip to content

Commit

Permalink
fix(ui): code review
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Dec 18, 2024
1 parent 3ff33b5 commit f65558d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"active": "Active",
"configure": "Configure",
"terms_and_conditions": "Terms and Conditions",
"terms_required": "Please read and agree to @:common.terms_and_conditions"
"terms_required": "Please read and agree to @:common.terms_and_conditions",
"not_available": "Not available"
},
"error": {
"error": "Error",
Expand Down
6 changes: 5 additions & 1 deletion core/ui/src/components/software-center/AppInfoModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@
{{ $t("software_center.latest_version") }}
</span>
<span class="value">
{{ app.versions.length ? app.versions[0].tag : "-" }}
{{
app.versions.length
? app.versions[0].tag
: $t("common.not_available")
}}
<span v-if="app.upstream_name"> ({{ app.upstream_name }}) </span>
</span>
</div>
Expand Down

0 comments on commit f65558d

Please sign in to comment.