feat: option to hide disabled subscriptions (#286)

This commit is contained in:
Miguel Ribeiro
2024-04-20 14:58:46 +02:00
committed by GitHub
parent 27f84ff3d5
commit b80ab4bdc6
23 changed files with 83 additions and 4 deletions
+7
View File
@@ -1001,6 +1001,13 @@ function setRemoveBackground() {
storeSettingsOnDB('remove_background', value);
}
function setHideDisabled() {
const hideDisabledCheckbox = document.querySelector("#hidedisabled");
const value = hideDisabledCheckbox.checked;
storeSettingsOnDB('hide_disabled', value);
}
function exportToJson() {
window.location.href = "endpoints/subscriptions/export.php";
}