瀏覽代碼

Fix contact selector (#550)

The `angular.lowercase` function was removed in AngularJS 1.7.
Danilo Bargen 7 年之前
父節點
當前提交
99b24ec10b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/directives/member_list_editor.ts

+ 1 - 1
src/directives/member_list_editor.ts

@@ -57,7 +57,7 @@ export default [
                         return [];
                     } else {
                         // search for contacts, do not show selected contacts
-                        const lowercaseQuery = angular.lowercase(query);
+                        const lowercaseQuery = query.toLowerCase();
                         const result = this.allContacts.filter((contactReceiver: threema.ContactReceiver) => {
                             return this.members.filter((identity: string) => {
                                     return identity === contactReceiver.id;