mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 08:48:01 +00:00
TSK-1432: fix popup closing (#3170)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
53c3f58e9d
commit
cbe0f74250
@ -376,7 +376,7 @@
|
|||||||
},
|
},
|
||||||
evt.target as HTMLElement,
|
evt.target as HTMLElement,
|
||||||
(res) => {
|
(res) => {
|
||||||
if (res !== undefined) {
|
if (res != null) {
|
||||||
const filename = 'exportStaff' + new Date().toLocaleDateString() + '.csv'
|
const filename = 'exportStaff' + new Date().toLocaleDateString() + '.csv'
|
||||||
const link = document.createElement('a')
|
const link = document.createElement('a')
|
||||||
link.style.display = 'none'
|
link.style.display = 'none'
|
||||||
|
Loading…
Reference in New Issue
Block a user