Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/controllers/dapps/dapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export class DappsController extends EventEmitter implements IDappsController {
const prevDapps = new Map(this.#dapps)

for (const dapp of fetchedDappsList) {
if (!dapp.url || !isValidURL(dapp.url)) continue
if (categoriesToExclude.includes(dapp.category)) continue
if (defiLlamaProtocolIdsToExclude.includes(dapp.id)) continue

Expand Down Expand Up @@ -357,6 +358,7 @@ export class DappsController extends EventEmitter implements IDappsController {

// Add predefined
for (const pd of predefinedDapps) {
if (!pd.url || !isValidURL(pd.url)) continue
const id = getDappIdFromUrl(pd.url)

const prevStoredDapp = prevDapps.get(id)
Expand Down
Loading