Skip to content

Commit

Permalink
Merge pull request #4534 from snowraincloud/preview-fixes
Browse files Browse the repository at this point in the history
Fix(black-list): adapt new home page (fix #4510)
  • Loading branch information
the1812 authored Nov 22, 2023
2 parents 44f3c55 + 5908ec8 commit ca6ae41
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 ca6ae41

Please sign in to comment.