canonical / canonicalwebteam.discourse

GNU Lesser General Public License v3.0
11 stars 16 forks source link

Don't mutate shared navigation model between requests #161

Closed sparkiegeek closed 1 year ago

sparkiegeek commented 1 year ago

Fixes #160 by operating on a copy of the version specific navigation set when decorating with is_active and has_active_child.

Drive-by fixes for just storing active_topic_id and not the whole topic, and fix to an f-string that was missing an f