We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d6605 commit 916f606Copy full SHA for 916f606
src/components/views/dialogs/secretstorage/AccessSecretStorageDialog.js
@@ -110,7 +110,7 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
110
111
// also clear the file upload control so that the user can upload the same file
112
// the did before (otherwise the onchange wouldn't fire)
113
- this._fileUpload.current.value = null;
+ if (this._fileUpload.current) this._fileUpload.current.value = null;
114
115
116
// We don't use Field's validation here because a) we want it in a separate place rather
0 commit comments