Revize fabfbe32
Přidáno uživatelem Jaroslav Hrubý před asi 2 roky(ů)
webapp/pages/documents/admin/index.tsx | ||
---|---|---|
270 | 270 |
}); |
271 | 271 |
}; |
272 | 272 |
|
273 |
const hideModalWithClear = () => { |
|
273 |
const hideModalWithClear = (clear: boolean) => {
|
|
274 | 274 |
fetchData(); |
275 | 275 |
setVisibleAssign(false); |
276 | 276 |
setVisibleSetCount(false); |
277 |
clearSelection(); |
|
277 |
if (clear) { |
|
278 |
clearSelection(); |
|
279 |
} |
|
278 | 280 |
}; |
279 | 281 |
|
280 | 282 |
const hideModal = () => { |
Také k dispozici: Unified diff
Refactoring, fixes