From 9c87d6baa58eee565f6c4fe812f8f38a04109a32 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sat, 1 Jun 2019 15:50:08 -0400 Subject: [PATCH] added lowercase transformation --- .../add-new-account/add-new-account.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/floating-column/add-new-account/add-new-account.component.ts b/src/app/components/floating-column/add-new-account/add-new-account.component.ts index cfb42038..c740cb7f 100644 --- a/src/app/components/floating-column/add-new-account/add-new-account.component.ts +++ b/src/app/components/floating-column/add-new-account/add-new-account.component.ts @@ -51,7 +51,7 @@ export class AddNewAccountComponent implements OnInit { } private checkBlockList(instance: string){ - let cleanInstance = instance.replace('http://', '').replace('https://', ''); + let cleanInstance = instance.replace('http://', '').replace('https://', '').toLowerCase(); for (let b of this.blockList) { if (cleanInstance == b || cleanInstance.includes(`.${b}`)) { let content = '