File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
public/app/features/alerting Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import config from 'app/core/config';
7
7
8
8
export class AlertNotificationEditCtrl {
9
9
model : any ;
10
- showTest : boolean = false ;
11
10
testSeverity : string = "critical" ;
12
11
13
12
/** @ngInject */
@@ -53,10 +52,6 @@ export class AlertNotificationEditCtrl {
53
52
this . model . settings = { } ;
54
53
}
55
54
56
- toggleTest ( ) {
57
- this . showTest = ! this . showTest ;
58
- }
59
-
60
55
testNotification ( ) {
61
56
var payload = {
62
57
name : this . model . name ,
Original file line number Diff line number Diff line change @@ -74,10 +74,7 @@ <h3 class="page-heading">Email addresses</h3>
74
74
< div class ="gf-form width-6 ">
75
75
< button ng-click ="ctrl.save() " class ="btn btn-success "> Save</ button >
76
76
</ 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 ">
81
78
< div class ="gf-form " ng-show ="ctrl.showTest ">
82
79
< button ng-click ="ctrl.testNotification() " class ="btn btn-secondary "> Send</ button >
83
80
</ div >
You can’t perform that action at this time.
0 commit comments