Skip to content

index.js: fix switching between versions

mwarning requested to merge (removed):url into master

When a model is selected and the versions is changed, then this only works when the title of a model stays the same.

  1. index.js: fix model selection on version change

    In OpenWrt, model titles, model id and the target names might change. To allow a better experience when the version changes, we now search for id/target and title.

  2. index.js: clear url parameters when no model was found

    Use history.replaceState(). This makes the states easier to handle and stack up when it is not part of a valid ui interaction.

Edited by mwarning

Merge request reports