Skip to content

Commit

Permalink
Merge branch 'main' into mv3
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepzh committed Feb 23, 2023
2 parents ce7e351 + 9714391 commit df283e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/limit-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function handleLimitChanged() {
const tabs = await listTabs()
tabs.forEach(tab => {
const limitedItems = allItems.filter(item => item.matches(tab.url) && item.enabled && item.hasLimited())
limitedItems?.length && sendMsg2Tab(tab?.id, 'limitChanged', limitedItems)
sendMsg2Tab(tab?.id, 'limitChanged', limitedItems)
.catch(err => console.log(err.message))
})
}
Expand Down Expand Up @@ -134,4 +134,4 @@ class LimitService {
}
}

export default new LimitService()
export default new LimitService()

0 comments on commit df283e0

Please sign in to comment.