From 1d38dd7a9f1f4efffe121440e837dfe8c8a5e292 Mon Sep 17 00:00:00 2001 From: bluecaret Date: Sat, 22 Jul 2023 07:47:27 -0700 Subject: [PATCH] fix update notice and bump version --- manifest.config.js | 4 ++-- src/components/settings/DashboardSettings.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.config.js b/manifest.config.js index d0b6939d..9cf30fda 100644 --- a/manifest.config.js +++ b/manifest.config.js @@ -6,8 +6,8 @@ const getManifestSettings = (env) => { short_name: 'CaretTab', name: env.mode === 'beta' ? 'CaretTab BETA' : '__MSG_appName__', description: env.mode === 'beta' ? 'Beta version of the New Tab extension, CaretTab' : '__MSG_appDesc__', - version: `4.0.0`, - version_name: `4.0.0`, + version: `4.0.1`, + version_name: `4.0.1`, default_locale: 'en', icons: { 16: 'img/icon16.png', diff --git a/src/components/settings/DashboardSettings.vue b/src/components/settings/DashboardSettings.vue index ce6c4a58..5b60da09 100644 --- a/src/components/settings/DashboardSettings.vue +++ b/src/components/settings/DashboardSettings.vue @@ -24,7 +24,7 @@ onMounted(async () => { store.status = 'existing' } if ((!store.clearWhatsNewBox, store.updatedTimestamp)) { - let updated = DateTime.fromFormat(store.updatedTimestamp, 'F') + let updated = DateTime.fromFormat(store.updatedTimestamp, 'F').plus({ days: 7 }) let now = DateTime.now() if (updated <= now) { handleClearWhatsNew()