소스 검색

Remove code pulled in by git hook

John R. Supplee 4 년 전
부모
커밋
ad759f2f9f
1개의 변경된 파일0개의 추가작업 그리고 13개의 파일을 삭제
  1. 0 13
      client/components/main/globalSearch.js

+ 0 - 13
client/components/main/globalSearch.js

@@ -355,14 +355,6 @@ BlazeComponent.extendComponent({
     return text;
   },
 
-  labelColors() {
-    return Boards.simpleSchema()._schema['labels.$.color'].allowedValues.map(
-      color => {
-        return { color, name: TAPi18n.__(`color-${color}`) };
-      },
-    );
-  },
-
   events() {
     return [
       {
@@ -370,11 +362,6 @@ BlazeComponent.extendComponent({
           evt.preventDefault();
           this.searchAllBoards(evt.target.searchQuery.value);
         },
-        'click .js-palette-color'(evt) {
-          this.query.set(
-            `${this.query.get()} label:"${evt.currentTarget.textContent}"`,
-          );
-        },
       },
     ];
   },