Skip to content

Commit 93d1bc4

Browse files
committed
fixed line
1 parent b25e98f commit 93d1bc4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app/js/containers/account-list.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AccountList extends React.Component {
6969
accountItem: '',
7070
accountPassword: '',
7171
filter: ACCOUNT_FILTERS.SHOW_ALL,
72-
isLock: false
72+
isLock: true
7373
}
7474

7575
this.handleChange = this.handleChange.bind(this);
@@ -105,8 +105,8 @@ class AccountList extends React.Component {
105105
this.setState({
106106
isLock: !this.state.isLock
107107
});
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));
110110
}
111111

112112
handleDelete(id) {

app/scss/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ button {
3636

3737
.inlineEdit {
3838
position: relative;
39+
height: 100%;
40+
width: 100%;
3941
border: none;
4042
outline: none;
4143
cursor: pointer;
@@ -57,6 +59,7 @@ button {
5759
bottom: 2px;
5860
font-weight: bold;
5961
height: 100%;
62+
width: 100%;
6063
margin-right: 15px;
6164
}
6265

0 commit comments

Comments
 (0)