Skip to content

Commit c63055a

Browse files
committed
fix(open-graph): fix type error, close #563
1 parent 41ee5ec commit c63055a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devtools/client/pages/modules/open-graph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ until(router).toBeTruthy().then((v) => {
157157
</NLink>
158158
</div>
159159
<NLink
160-
:href="item.value.match(/^https?:\/\//) ? item.value : undefined"
160+
:href="String(item.value).match(/^https?:\/\//) ? item.value : undefined"
161161
target="_blank"
162162
w-full p2 font-mono
163163
n="primary"

0 commit comments

Comments
 (0)