mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix
This commit is contained in:
parent
9471759ef1
commit
c56c7799b4
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class ImportConfigDialog extends React.Component {
|
|||
loadFile = event => {
|
||||
// get file
|
||||
const file = event.target.files[0];
|
||||
if (file.type.match('application/json') === false) {
|
||||
if (!file.type.match('application/json')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue