From ea37193538378560fbbe9fe9b1f6b1a3817f646b Mon Sep 17 00:00:00 2001 From: VarshithReddy2006 Date: Mon, 22 Jun 2026 07:37:11 +0530 Subject: [PATCH] fix(extension): release processing lock on warning status --- extension/content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/content.js b/extension/content.js index a7fdbca..cdce7bc 100644 --- a/extension/content.js +++ b/extension/content.js @@ -155,10 +155,10 @@ if (request.type === 'MANUAL_TRIGGER') { triggerBlogGeneration(request.custom_prompt || ""); //usage of custom prompt } else if (request.type === 'STATUS_UPDATE') { - if (request.status === 'success' || request.status === 'error') { + const terminalStates = ["success", "error", "warning"]; + if (terminalStates.includes(request.status)) { isProcessing = false; } - } });