Просмотр исходного кода

Remove leading slash from path names, for display

Shane Kilkelly 8 лет назад
Родитель
Сommit
74d8e67a05
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/app/views/project/editor/file-tree.pug

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

@@ -377,7 +377,7 @@ script(type='text/ng-template', id='projectLinkedFileModalTemplate')
 						option(
 							ng-repeat="projectEntity in data.projectEntities"
 							value="{{ projectEntity.path }}"
-						) {{ projectEntity.path }}
+						) {{ projectEntity.path.slice(1) }}
 				br
 
 				.form-controls