Explorar o código

[home2] Fix issue with document links

Johan Ahlen %!s(int64=10) %!d(string=hai) anos
pai
achega
99c9d041f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">