mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(notifications): remove unused filter markup
This commit is contained in:
@@ -7,7 +7,6 @@ import config from 'app/core/config';
|
||||
|
||||
export class AlertNotificationEditCtrl {
|
||||
model: any;
|
||||
showTest: boolean = false;
|
||||
testSeverity: string = "critical";
|
||||
|
||||
/** @ngInject */
|
||||
@@ -53,10 +52,6 @@ export class AlertNotificationEditCtrl {
|
||||
this.model.settings = {};
|
||||
}
|
||||
|
||||
toggleTest() {
|
||||
this.showTest = !this.showTest;
|
||||
}
|
||||
|
||||
testNotification() {
|
||||
var payload = {
|
||||
name: this.model.name,
|
||||
|
||||
@@ -74,10 +74,7 @@
|
||||
<div class="gf-form width-6">
|
||||
<button ng-click="ctrl.save()" class="btn btn-success">Save</button>
|
||||
</div>
|
||||
<div class="gf-form width-8">
|
||||
<button ng-click="ctrl.toggleTest()" class="btn btn-secondary">Test</button>
|
||||
</div>
|
||||
<div class="gf-form width-20" ng-show="ctrl.showTest">
|
||||
<div class="gf-form width-20">
|
||||
<div class="gf-form" ng-show="ctrl.showTest">
|
||||
<button ng-click="ctrl.testNotification()" class="btn btn-secondary">Send</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user