Explorar o código

Merge pull request #2652 from overleaf/jel-new-file-scope

Maintain scope in new file modal

GitOrigin-RevId: f4a39dfefbbcb75f5a3fb8fe23cb71a186b575dd
Eric Mc Sween %!s(int64=6) %!d(string=hai) anos
pai
achega
34a40296f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/project/editor/new-file-modal.pug

+ 1 - 1
services/web/app/views/project/editor/new-file-modal.pug

@@ -1,7 +1,7 @@
 script(type='text/ng-template', id='newFileModalTemplate')
 	.modal-header
 		h3 Add Files
-	.modal-body.modal-new-file(ng-if="file_count < 2000")
+	.modal-body.modal-new-file(ng-show="file_count < 2000")
 		table
 			tr
 				td.modal-new-file--list