mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-11 16:44:10 -04:00
Each section in the advanced settings dialog has similar code to insert repeated input fields for each option. But only the first section (GUI options) was adjusted in #9743 to avoid calling the `inputTypeFor()` function repeatedly. Apply the same caching to a locally scoped variable for each ng-repeat entry by defining it in an ng-init directive.