OHDSI / Penelope

PENELOPE (Personalized Exploratory Navigation and Evaluation for Labels Of Product Effects) [under development]
Apache License 2.0
4 stars 2 forks source link

Penelope should reload the sources from WebAPI on application startup #53

Open leeevans opened 8 years ago

leeevans commented 8 years ago

penelope caches the sources to local storage the first time it reads them from WebAPI. It then always reuses the sources from the local storage, even if the WebAPI sources have been updated.

See: Penelope/web/js/main.js

// Get the sources from localStorage - if not found, retrieve them from the WS

if (pageModel.sources().length == 0)