Skip to content

Commit e6a7c69

Browse files
committed
chore: add back check for slug to avoid multiple requests to API
1 parent 6f15a5d commit e6a7c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ browser.runtime.onMessage.addListener(
2626
}
2727

2828
const showcase = tabsStorage[tabId]
29-
if (showcase.hasVue) {
29+
if (showcase.hasVue && !showcase.slug) {
3030
try {
3131
const res = await fetch(`https://vuetelemetry.com/api/analyze?url=${message.payload.url}`, {
3232
method: 'GET'

0 commit comments

Comments
 (0)