Commit b98fc12c authored by Dida Adams Arizona's avatar Dida Adams Arizona

Merge branch 'didam' into 'master'

Didam

See merge request !269
parents 9eeedb3c 02eb8780
......@@ -497,6 +497,7 @@ export default class UserRole extends Component {
uploadUser() {
api.create().uploadUser(this.state.payload).then(response => {
this.setState({buttonError: false})
console.log(response)
if (response.data) {
if (response.ok) {
......@@ -801,7 +802,7 @@ export default class UserRole extends Component {
<div style={{ display: 'flex', width: '100%', placeContent: 'flex-end', padding: 20 }}>
<button
type="button"
onClick={() => this.setState({ visibleUser: true })}
onClick={() => this.setState({ visibleUser: true, payload: [], rows: [], judul: '', buttonError: false })}
style={{ marginRight: 20 }}
>
<div style={{ width: 102, height: 30, border: 'solid 1px #354960', borderRadius: 5, alignItems: 'center', display: 'flex', justifyContent: 'center' }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment