瀏覽代碼

variable: fix binding bug after ts conversion

Daniel Lee 7 年之前
父節點
當前提交
e7bcd8c3c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;