Skip to content

Commit

Permalink
[gs] Remove old dead code fs checks for disabling upload button
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshg999 committed Oct 6, 2023
1 parent b3b0e08 commit 76886be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/filebrowser/src/filebrowser/templates/listdir.mako
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ ${ fb_components.menubar() }
<!-- /ko -->
<!-- ko ifnot: isS3() || isGS() || isABFS() -->
<div id="upload-dropdown" class="btn-group" style="vertical-align: middle">
<a data-hue-analytics="filebrowser:upload-btn-click" href="javascript: void(0)" class="btn upload-link dropdown-toggle" title="${_('Upload')}" data-bind="click: uploadFile, visible: !inTrash(), css: {'disabled': isS3() && isS3Root() || isGS() && isGSRoot() || isABFS() && isABFSRoot() || (isOFS() && (isOFSRoot() || isOFSServiceID() || isOFSVol()))}">
<a data-hue-analytics="filebrowser:upload-btn-click" href="javascript: void(0)" class="btn upload-link dropdown-toggle" title="${_('Upload')}" data-bind="click: uploadFile, visible: !inTrash(), css: {'disabled': (isOFS() && (isOFSRoot() || isOFSServiceID() || isOFSVol()))}">
<i class="fa fa-arrow-circle-o-up"></i> ${_('Upload')}
</a>
</div>
Expand Down

0 comments on commit 76886be

Please sign in to comment.