mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-08 23:08:27 +00: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.