We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5bfd2 commit 3b568bdCopy full SHA for 3b568bd
1 file changed
app/pages/package/[[org]]/[name].vue
@@ -797,6 +797,20 @@ onKeyStroke(
797
{{ $t('package.links.compare') }}
798
</LinkBase>
799
</li>
800
+ <li
801
+ v-if="
802
+ displayVersion && latestVersion && displayVersion.version !== latestVersion.version
803
+ "
804
+ class="sm:hidden"
805
+ >
806
+ <NuxtLink
807
+ :to="`/diff/${pkg.name}/v/${displayVersion.version}...${latestVersion.version}`"
808
+ class="link-subtle font-mono text-sm inline-flex items-center gap-1.5"
809
810
+ <span class="i-carbon-text-align-mixed w-4 h-4" aria-hidden="true" />
811
+ {{ $t('compare.compare_versions') }}
812
+ </NuxtLink>
813
+ </li>
814
</ul>
815
</div>
816
0 commit comments