prophecies icon indicating copy to clipboard operation
prophecies copied to clipboard

bug? self-hosted ui reports version 0.0.0

Open gabriel-v opened this issue 11 months ago • 2 comments

In profile dropdown

Screenshot from 2024-03-20 18-40-24

But when I get into the container and check the python self-reported version, it works

poetry run python manage.py shell
Python 3.10.13 (main, Mar 12 2024, 12:16:25) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import pkg_resources; pkg_resources.get_distribution('prophecies').version
'0.5.14'
>>> import prophecies
>>> prophecies.VERSION
'0.5.14'
>>> 

I see some js here https://github.com/ICIJ/prophecies/blob/27a581f9cfd6a4cdbf927393693662060e53e532/prophecies/apps/frontend/src/components/AppVersion.vue#L6

Do I need to rebuild some js for version # to take effect?

gabriel-v avatar Mar 20 '24 16:03 gabriel-v