File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- import { defaultParams } from "../constants/params.js" ;
1
+ import { defaultParams } from "../constants/params.js" ;
2
2
3
3
( function ( ) {
4
4
'use strict' ;
@@ -83,7 +83,7 @@ import { defaultParams } from "../constants/params.js";
83
83
}
84
84
} ) ;
85
85
$ ( '#btn-secret-type' ) . on ( 'click' , function ( event ) {
86
- let val = $ ( '#network-mgmt-secret-type' ) . find ( ":selected" ) . text ( ) ;
86
+ let val = $ ( '#network-mgmt-secret-type' ) . find ( ":selected" ) . val ( ) ;
87
87
console . log ( val . toUpperCase ( ) , 'switching' ) ;
88
88
Venly . changeSecretType ( val . toUpperCase ( ) ) . then ( provider => {
89
89
app . secretType = val . toUpperCase ( ) ;
Original file line number Diff line number Diff line change 1
- import { defaultParams } from "../constants/params.js" ;
1
+ import { defaultParams } from "../constants/params.js" ;
2
2
3
3
( function ( ) {
4
4
'use strict' ;
@@ -57,7 +57,7 @@ import { defaultParams } from "../constants/params.js";
57
57
}
58
58
} ) ;
59
59
$ ( '#btn-secret-type' ) . on ( 'click' , function ( event ) {
60
- let val = $ ( '#network-mgmt-secret-type' ) . find ( ":selected" ) . text ( ) ;
60
+ let val = $ ( '#network-mgmt-secret-type' ) . find ( ":selected" ) . val ( ) ;
61
61
console . log ( val . toUpperCase ( ) , 'switching' ) ;
62
62
Venly . changeSecretType ( val . toUpperCase ( ) ) . then ( provider => {
63
63
app . secretType = val . toUpperCase ( ) ;
You can’t perform that action at this time.
0 commit comments