eucp-project / atlas

prototype result browser
https://eucp-project.github.io/atlas/
Other
3 stars 3 forks source link

Constraint dropdown is not filled on eucp-project.github.io/atlas/ #52

Closed sverhoeven closed 3 years ago

sverhoeven commented 3 years ago

Running locally on wtih npm run dev shows the constraint dropdown like localhost_3000_atlas_

However on https://eucp-project.github.io/atlas/ the contraint dropdown is empty, see eucp-project github io_atlas_ The plot shown is constraint.

sverhoeven commented 3 years ago

Running generated version locally also gives same problem

npm run generate
mv dist/ atlas
python3 -m http.server 8000 
# Goto http://0.0.0.0:8000/atlas/
Peter9192 commented 3 years ago

I fixed this yesterday. The problem was that I deduced the settings from the filename, so "..../.../...cons.jpg" was used to set the initial value for constrained/unconstrained. But because of this hash addition that you told me about, indexing the last part of this string resulted in something different after nuxt generate. I pushed the fix directly to master...