diff --git a/data/web/js/build/014-mailcow.js b/data/web/js/build/014-mailcow.js index a211643a..13bc2911 100644 --- a/data/web/js/build/014-mailcow.js +++ b/data/web/js/build/014-mailcow.js @@ -312,66 +312,6 @@ $(document).ready(function() { localStorage.setItem('darkmode', 'true'); } } - - // show whats new modal - if (mailcow_cc_role === "admin" || mailcow_cc_role === "domainadmin"){ - if (mailcow_info.updatedAt > last_login){ - var parsedSeenTimestamp = parseInt(localStorage.getItem("seenChangelog")); - if (!isNaN(parsedSeenTimestamp) && mailcow_info.updatedAt < parsedSeenTimestamp) { - console.log("changelog seen"); - return; - } - $.ajax({ - type: 'GET', - url: 'https://api.github.com/repos/' + mailcow_info.project_owner + '/' + mailcow_info.project_repo + '/releases/tags/' + mailcow_info.version_tag, - dataType: 'json', - success: function (data) { - var md = window.markdownit(); - var result = md.render(data.body); - result = parseGithubMarkdownLinks(result); - - $('#showWhatsNewModal').find(".modal-body").html(` -
{{ mailcow_info.version_tag }}
- -