Skip to content

Commit

Permalink
Fix(black-list): adapt new home page (fix #4510)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowraincloud committed Nov 22, 2023
1 parent 44f3c55 commit 5908ec8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions registry/lib/components/utils/black-list/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineComponentMetadata } from '@/components/define'
import { mainSiteUrls } from '@/core/utils/urls'
import { allMutationsOn } from '@/core/observer'
import { selectAll } from '@/core/spin-query'
import { registerData, getData } from '@/plugins/data'
import { mainSiteUrls } from '@/core/utils/urls'
import { getData, registerData } from '@/plugins/data'
import { BlackListDataKey } from './common'

const name = 'blackList'
Expand All @@ -14,7 +14,7 @@ const entry = async ({ settings: { options } }) => {
}

registerData(BlackListDataKey, blackListData)
const billGrid = await selectAll('.bili-grid')
const billGrid = await selectAll('.feed2')
allMutationsOn(billGrid, async () => {
const videos = await selectAll('.bili-video-card')
if (!videos) {
Expand Down

0 comments on commit 5908ec8

Please sign in to comment.