Merge pull request #1421 from MatthewHana/v3.2-devel

WEB UI: Hide download button for Webcal collections [SMALL]
This commit is contained in:
Peter Bieringer
2024-03-11 07:25:48 +01:00
committed by GitHub

View File

@@ -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");