Skip to content

Commit

Permalink
Hide download button for Webcal collections
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHana committed Mar 11, 2024
1 parent bf82483 commit 6f5ee56
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 6f5ee56

Please sign in to comment.