File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ module.exports = {
19
19
'no-multiple-empty-lines' : [ 2 , { max : 1 } ] ,
20
20
21
21
'ember/no-jquery' : 'off' ,
22
- 'ember/no-get' : 'off' ,
23
22
'ember/no-classic-classes' : 'off' ,
24
23
'ember/no-classic-components' : 'off' ,
25
24
'ember/require-tagless-components' : 'off' ,
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ export default Component.extend({
10
10
classNameBindings : [ 'errorful' , 'hasHelp' ] ,
11
11
12
12
errorful : computed ( 'error' , function ( ) {
13
- if ( this . get ( ' error' ) ! = null ) {
13
+ if ( this . error != = null ) {
14
14
return 'upf-input-container--errorful' ;
15
15
}
16
16
return '' ;
17
17
} ) ,
18
18
19
19
hasHelp : computed ( 'help' , function ( ) {
20
- if ( this . get ( ' help' ) ! = null ) {
20
+ if ( this . help != = null ) {
21
21
return 'upf-input-container--has-help' ;
22
22
}
23
23
return '' ;
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ export default Component.extend({
9
9
colorClass : null ,
10
10
11
11
maxWidthStyle : computed ( 'value' , function ( ) {
12
- return `max-width: ${ this . get ( ' value' ) } %` ;
12
+ return `max-width: ${ this . value } %` ;
13
13
} )
14
14
} ) ;
You can’t perform that action at this time.
0 commit comments