TSK-1432: fix popup closing (#3170)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-05-12 11:42:02 +05:00 committed by GitHub
parent 53c3f58e9d
commit cbe0f74250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@
},
evt.target as HTMLElement,
(res) => {
if (res !== undefined) {
if (res != null) {
const filename = 'exportStaff' + new Date().toLocaleDateString() + '.csv'
const link = document.createElement('a')
link.style.display = 'none'