Преглед изворни кода

[home2] Fix issue with document links

Johan Ahlen пре 10 година
родитељ
комит
99c9d041f6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/core/src/desktop/templates/file_browser.mako

+ 1 - 1
desktop/core/src/desktop/templates/file_browser.mako

@@ -222,7 +222,7 @@ from desktop.views import _ko
               <a href="javascript: void(0);" data-bind="text: name, click: function () { $data.open(true); $parents[1].currentDirectory($data); }"></a>
               <!-- /ko -->
               <!-- ko ifnot: definition.type === 'directory' -->
-              <a data-bind="text: name, attr: { href: absoluteUrl }"></a>
+              <a data-bind="text: definition.name, attr: { href: definition.absoluteUrl }"></a>
               <!-- /ko -->
             </div>
             <div class="fb-attr-group">