Skip to content
Snippets Groups Projects
Commit 57d0c211 authored by Stefan Plociennik's avatar Stefan Plociennik
Browse files

added words to lists are now always in lowercase

parent 078c396a
No related merge requests found
......@@ -328,7 +328,7 @@ export class TopicCloudAdministrationComponent implements OnInit, OnDestroy {
}
addProfanityWord() {
this.topicCloudAdminService.addToProfanityList(this.newProfanityWord);
this.topicCloudAdminService.addToProfanityList(this.newProfanityWord.toLowerCase());
this.newProfanityWord = undefined;
if (this.searchMode){
this.searchKeyword();
......@@ -336,7 +336,7 @@ export class TopicCloudAdministrationComponent implements OnInit, OnDestroy {
}
addBlacklistWord() {
this.topicCloudAdminService.addWordToBlacklist(this.newBlacklistWord);
this.topicCloudAdminService.addWordToBlacklist(this.newBlacklistWord.toLowerCase());
this.newBlacklistWord = undefined;
if (this.searchMode){
this.searchKeyword();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment