diff --git a/app/components/DropZone.jsx b/app/components/DropZone.jsx index 0bf15c5..67953db 100644 --- a/app/components/DropZone.jsx +++ b/app/components/DropZone.jsx @@ -10,6 +10,7 @@ class DropZone extends Component { constructor(props) { super(props); + Notification.requestPermission(); // For a full list of possible configurations, // please consult http://www.dropzonejs.com/#configuration @@ -29,6 +30,9 @@ class DropZone extends Component { success = (file, path) => { FilesActions.updateFileList(path); + if(Notification.permission === 'granted') { + new Notification('File uploaded successfully'); + } } render = () => {