core: Fix typing and convert to tsx
The runningScan
was using a wrong type, as result at the drop down the content was cleared (no idea why).
Now it displays the running scan.
(cherry picked from commit 4e3babf8)
Co-authored-by: Valentin Valls valentin.valls@esrf.fr
Edited by Valentin Valls