mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-26 21:27:39 -05:00
templates. The variable scope for the jinja2 template variable is not consitent across all the for loop (loop withing loop), it was behaving inconsistently, a value set in a loop was not properly accessible in inner loop properly. In order to resolve the issue - setting/using the variable only in inner loop, and call add_menus function multiple times, which we were trying to avoid, but - we can live with that.