Jelajahi Sumber

Fix contact selector (#550)

The `angular.lowercase` function was removed in AngularJS 1.7.
Danilo Bargen 7 tahun lalu
induk
melakukan
99b24ec10b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;