From 64783e73bd2b5d7dc702bba250ad7a7e3546c987 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:03:55 +0200 Subject: [PATCH] Add prompt to reload page on extension update --- public/scripts/extensions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/extensions.js b/public/scripts/extensions.js index f4bfc554c..125140b6d 100644 --- a/public/scripts/extensions.js +++ b/public/scripts/extensions.js @@ -654,7 +654,7 @@ async function updateExtension(extensionName, quiet) { toastr.success('Extension is already up to date'); } } else { - toastr.success(`Extension ${extensionName} updated to ${data.shortCommitHash}`); + toastr.success(`Extension ${extensionName} updated to ${data.shortCommitHash}`, 'Reload the page to apply updates'); } } catch (error) { console.error('Error:', error);