Skip to content

Commit

Permalink
Merge pull request #509 from codeworks-projects/feat/show-deprecated-…
Browse files Browse the repository at this point in the history
…description

feat: show deprecation description
  • Loading branch information
RudiThoeni authored Jan 15, 2024
2 parents 7122e8b + 0df9fa2 commit f2f297b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
:key="i"
class="flex items-center justify-between gap-3 rounded bg-deprecated/10 px-2 py-3 text-sm text-deprecated"
>
<p v-if="availableDeprecationInfo.length > 1">
{{ item.pathToDeprecation }}
</p>
<p v-else>This field is deprecated</p>
<p>{{ item.description || 'This field is deprecated' }}</p>
<TagCustom type="purple" text="Deprecated" has-dot />
</div>
</div>
Expand Down

0 comments on commit f2f297b

Please sign in to comment.