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 1f57d22 commit 05e4532Copy full SHA for 05e4532
src/shared/components/palette/document/write-document-field.component.ts
@@ -165,8 +165,8 @@ export class WriteDocumentFieldComponent extends AbstractFieldWriteComponent imp
165
}
166
167
fileSelectEvent() {
168
- if ((this.caseField.value && this.caseField.value.document_filename !== null) ||
169
- (this.selectedFile && this.selectedFile.name !== null)) {
+ if ((this.caseField.value && this.caseField.value.document_filename) ||
+ (this.selectedFile && this.selectedFile.name)) {
170
this.openDialog(this.dialogConfig);
171
} else {
172
this.openFileDialog();
0 commit comments