Browse Source

refactor(): minor refactor

Torkel Ödegaard 10 years ago
parent
commit
f80d5f8c03

+ 0 - 8
public/app/features/panel/panel.ts

@@ -6,16 +6,8 @@ import {PanelCtrl} from './panel_ctrl';
 import {MetricsPanelCtrl} from './metrics_panel_ctrl';
 import {QueryCtrl} from './query_ctrl';
 
-class DefaultPanelCtrl extends PanelCtrl {
-  /** @ngInject */
-  constructor($scope, $injector) {
-    super($scope, $injector);
-  }
-}
-
 export {
   PanelCtrl,
-  DefaultPanelCtrl,
   MetricsPanelCtrl,
   QueryCtrl,
 }

+ 1 - 1
public/app/features/panel/partials/query_editor_row.html

@@ -33,7 +33,7 @@
 		</li>
 		<li class="tight-form-item last">
 			<a class="pointer" tabindex="1" ng-click="ctrl.removeQuery(target)">
-				<i class="fa fa-remove"></i>
+				<i class="fa fa-trash"></i>
 			</a>
 		</li>
 	</ul>

+ 1 - 1
public/app/plugins/panel/text/module.ts

@@ -1,7 +1,7 @@
 ///<reference path="../../../headers/common.d.ts" />
 
 import _ from 'lodash';
-import {PanelCtrl} from '../../../features/panel/panel';
+import {PanelCtrl} from 'app/features/panel/panel';
 
  // Set and populate defaults
 var panelDefaults = {