Skip to content

Commit 91b1801

Browse files
committed
tech(notifications): remove unused filter markup
1 parent aa78114 commit 91b1801

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

public/app/features/alerting/notification_edit_ctrl.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import config from 'app/core/config';
77

88
export class AlertNotificationEditCtrl {
99
model: any;
10-
showTest: boolean = false;
1110
testSeverity: string = "critical";
1211

1312
/** @ngInject */
@@ -53,10 +52,6 @@ export class AlertNotificationEditCtrl {
5352
this.model.settings = {};
5453
}
5554

56-
toggleTest() {
57-
this.showTest = !this.showTest;
58-
}
59-
6055
testNotification() {
6156
var payload = {
6257
name: this.model.name,

public/app/features/alerting/partials/notification_edit.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ <h3 class="page-heading">Email addresses</h3>
7474
<div class="gf-form width-6">
7575
<button ng-click="ctrl.save()" class="btn btn-success">Save</button>
7676
</div>
77-
<div class="gf-form width-8">
78-
<button ng-click="ctrl.toggleTest()" class="btn btn-secondary">Test</button>
79-
</div>
80-
<div class="gf-form width-20" ng-show="ctrl.showTest">
77+
<div class="gf-form width-20">
8178
<div class="gf-form" ng-show="ctrl.showTest">
8279
<button ng-click="ctrl.testNotification()" class="btn btn-secondary">Send</button>
8380
</div>

0 commit comments

Comments
 (0)