Skip to content

Commit 983ccd1

Browse files
authored
fix: add version to npm graph (#1809)
1 parent 4b23d3f commit 983ccd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ const showSkeleton = shallowRef(false)
11231123
<LinkBase
11241124
variant="button-secondary"
11251125
size="small"
1126-
:to="`https://npmgraph.js.org/?q=${pkg.name}`"
1126+
:to="`https://npmgraph.js.org/?q=${pkg.name}${resolvedVersion ? `@${resolvedVersion}` : ''}`"
11271127
:title="$t('package.stats.view_dependency_graph')"
11281128
classicon="i-lucide:network -rotate-90"
11291129
>

0 commit comments

Comments
 (0)