mark optional deps, not required ones (#697)

This commit is contained in:
MiniDigger | Martin 2022-06-19 19:06:18 +02:00
parent 60a6f846da
commit 77d051647b
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
"reset": "Reset",
"edit": "Edit",
"required": "Required",
"optional": "Optional",
"add": "Add",
"name": "Name",
"link": "Link",
@ -603,7 +604,7 @@
"recent": "You have no recent notifications!",
"read": "You have no read notifications.",
"all": "You have no notifications.",
"invites": "You have no invites"
"invites": "You have no invites."
},
"project": {
"reviewed": "{0} {1} has been reviewed and is approved",

View File

@ -288,7 +288,7 @@ async function restoreVersion() {
:to="!!dep.namespace ? { name: 'user-project', params: { user: dep.namespace.owner, project: dep.namespace.slug } } : undefined"
>
{{ dep.name }}
<small v-if="dep.required">({{ i18n.t("general.required") }})</small>
<small v-if="!dep.required">({{ i18n.t("general.optional") }})</small>
</Link>
</li>
</ul>