Commit 97e361fe authored by Deni Rinaldi's avatar Deni Rinaldi

malam2

parent 1c3cf56c
......@@ -588,7 +588,7 @@ export default function MiniDrawer() {
))}
</List>
{open &&
<div style={{ marginLeft: 20, marginTop: 5 }}>
<div style={{ marginLeft: 20, marginTop: 5, paddingBottom: 20 }}>
<button
style={{
outline: 'none',
......
This diff is collapsed.
This diff is collapsed.
......@@ -12,10 +12,10 @@ export default class PopUpFailedSave extends Component {
</div>
<div style={{ display: 'grid', justifyContent: 'center', marginTop: 20 }}>
<span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}>
{`Maaf, penyimpanan data gagal.`}
{`Sorry, form save failed.`}
</span>
<span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}>
{`Mohon ulangi beberapa saat lagi.`}
{`Please try again later.`}
</span>
</div>
<div style={{ display: 'grid', justifyContent: 'center', marginTop: 24 }}>
......
......@@ -70,7 +70,7 @@ class Upload extends Component {
uploadProgress: false,
percentage: '0'
})
this.setState({ alertMessage: "Unsupported Media Type", alert: true })
this.setState({ alertMessage: "Unsupported File", alert: true })
// alert("Unsupported Media Type")
}
}
......@@ -95,11 +95,11 @@ class Upload extends Component {
if (this.state.sizeFile < 1000) {
this.props.onUpload()
} else {
this.setState({ alertMessage: 'File Tidak Boleh Lebih Dari 1MB', alert: true })
this.setState({ alertMessage: 'File cannot be more than 1MB', alert: true })
// alert('File Tidak Boleh Lebih Dari 1MB')
}
} else {
this.setState({ alertMessage: 'File Tidak Mendukung', alert: true })
this.setState({ alertMessage: 'Unsupported File', alert: true })
// alert('File Tidak Mendukung')
}
}
......
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