File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class AccountList extends React.Component {
69
69
accountItem : '' ,
70
70
accountPassword : '' ,
71
71
filter : ACCOUNT_FILTERS . SHOW_ALL ,
72
- isLock : false
72
+ isLock : true
73
73
}
74
74
75
75
this . handleChange = this . handleChange . bind ( this ) ;
@@ -105,8 +105,8 @@ class AccountList extends React.Component {
105
105
this . setState ( {
106
106
isLock : ! this . state . isLock
107
107
} ) ;
108
-
109
- console . log ( this . state . isLock ) ;
108
+ //TODO set the local storage and get setings.
109
+ localStorage . setItem ( 'isLockButton' , JSON . stringify ( this . state . isLock ) ) ;
110
110
}
111
111
112
112
handleDelete ( id ) {
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ button {
36
36
37
37
.inlineEdit {
38
38
position : relative ;
39
+ height : 100% ;
40
+ width : 100% ;
39
41
border : none ;
40
42
outline : none ;
41
43
cursor : pointer ;
@@ -57,6 +59,7 @@ button {
57
59
bottom : 2px ;
58
60
font-weight : bold ;
59
61
height : 100% ;
62
+ width : 100% ;
60
63
margin-right : 15px ;
61
64
}
62
65
You can’t perform that action at this time.
0 commit comments