Jelajahi Sumber

variable: fix binding bug after ts conversion

Daniel Lee 7 tahun lalu
induk
melakukan
e7bcd8c3c3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      public/app/core/directives/value_select_dropdown.ts

+ 1 - 1
public/app/core/directives/value_select_dropdown.ts

@@ -142,7 +142,7 @@ export class ValueSelectDropdownCtrl {
     commitChange = commitChange || false;
     excludeOthers = excludeOthers || false;
 
-    let setAllExceptCurrentTo = function(newValue) {
+    let setAllExceptCurrentTo = newValue => {
       _.each(this.options, other => {
         if (option !== other) {
           other.selected = newValue;