1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00
This commit is contained in:
irismarie 2021-05-20 16:32:39 +02:00
parent 9471759ef1
commit c56c7799b4

View file

@ -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;
}