main
Elbert Alias 2 years ago
parent 260ee30668
commit 1e8f69cdae

@ -1055,7 +1055,7 @@ chrome.tabs.onUpdated.addListener(async (id, { status, url }) => {
const showCached = await getOption('showCached', true) const showCached = await getOption('showCached', true)
const cache = Driver.cache.hostnames?.[hostname] const cache = Driver.cache?.hostnames?.[hostname]
const resolved = (cache ? resolve(cache.detections) : []).filter( const resolved = (cache ? resolve(cache.detections) : []).filter(
({ lastUrl }) => showCached || isSimilarUrl(url, lastUrl) ({ lastUrl }) => showCached || isSimilarUrl(url, lastUrl)