Merge pull request #2836 from overleaf/em-as-ns-fix-ng-repeat

Fix ng-repeat error when uploading two files with the same name

GitOrigin-RevId: 6de85f54c1f497dfb980f4ed4c41efc2d9942277
This commit is contained in:
Eric Mc Sween 2020-05-20 10:18:18 -04:00 committed by Copybot
parent 3d411b98cf
commit 69e1aba86f

View file

@ -57,7 +57,7 @@ script(type='text/ng-template', id='newFileModalTemplate')
p.text-center
| The following files already exist in this project:
ul.text-center.list-unstyled.row-spaced-small
li(ng-repeat="conflict in conflicts"): strong {{ conflict }}
li(ng-repeat="conflict in conflicts track by $index"): strong {{ conflict }}
p.text-center.row-spaced-small
| Do you want to overwrite them?
p.text-center