Browse Source

[left assist] adding download option in left for the documents (#3089)

Ayush Goyal 3 years ago
parent
commit
3bfe9f17fd

+ 3 - 0
desktop/core/src/desktop/js/ko/components/assist/ko.assistDocumentsPanel.js

@@ -53,6 +53,9 @@ const TEMPLATE = `
       'Share'
       'Share'
     )}</a></li>
     )}</a></li>
     <!-- /ko -->
     <!-- /ko -->
+    <li><a href="javascript: void(0);" data-bind="click: contextMenuDownload"><i class="fa fa-fw fa-download"></i> ${I18n(
+      'Download'
+    )}</a></li>
   </script>
   </script>
 
 
   <script type="text/html" id="assist-document-header-actions">
   <script type="text/html" id="assist-document-header-actions">