diff --git a/js/app.js b/js/app.js index f591123..f585cb0 100644 --- a/js/app.js +++ b/js/app.js @@ -193,7 +193,6 @@ main((json) => { // // Entitlements const entitlementsContainer = document.getElementById("entitlements"); - console.log(app.appPermissions?.entitlements); if (!app.appPermissions?.entitlements?.length) entitlementsContainer.remove(); app.appPermissions?.entitlements.forEach(entitlementPermission => { const permission = entitlements[entitlementPermission.name]; diff --git a/js/utilities.js b/js/utilities.js index c929520..7a2ae1d 100644 --- a/js/utilities.js +++ b/js/utilities.js @@ -18,7 +18,7 @@ export function formatVersionDate(arg) { const msPerDay = 60 * 60 * 24 * 1000; const msDifference = today.valueOf() - versionDate.valueOf(); - let dateString = versionDate.valueOf() ? `${month} ${date}, ${versionDate.getFullYear()}` : app.versionDate.split("T")[0]; + let dateString = versionDate.valueOf() ? `${month} ${date}, ${versionDate.getFullYear()}` : arg.split("T")[0]; if (msDifference <= msPerDay && today.getDate() == versionDate.getDate()) dateString = "Today"; else if (msDifference <= msPerDay * 2) diff --git a/js/versionHistory.js b/js/versionHistory.js index 03b60d7..d3a67ce 100644 --- a/js/versionHistory.js +++ b/js/versionHistory.js @@ -19,7 +19,6 @@ insertNavigationBar("Version History"); main((json) => { const app = getAppWithBundleId(bundleId); - console.log(app.versions); // Set tab title document.title = `Version History - ${app.name}`;