Skip to content

Commit

Permalink
Merge pull request #1421 from MatthewHana/v3.2-devel
Browse files Browse the repository at this point in the history
WEB UI: Hide download button for Webcal collections [SMALL]
  • Loading branch information
pbiering authored Mar 11, 2024
2 parents bf82483 + 6f5ee56 commit 48910bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions radicale/web/internal_data/fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,9 @@ function CollectionsScene(user, password, collection, onerror) {
let href = SERVER + collection.href;
url_form.value = href;
download_btn.href = href;
if(collection.type == CollectionType.WEBCAL){
download_btn.parentElement.classList.add("hidden");
}
delete_btn.onclick = function() {return ondelete(collection);};
edit_btn.onclick = function() {return onedit(collection);};
node.classList.remove("hidden");
Expand Down

0 comments on commit 48910bf

Please sign in to comment.