From d551df591e7c8ac01286f8f75d107af32f1baf17 Mon Sep 17 00:00:00 2001 From: Captain Jack Sparrow <163903675+sussy-code@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:25:22 -0400 Subject: [PATCH 1/6] Update src/pages/parts/player/ScrapeErrorPart.tsx Co-authored-by: William Oldham --- src/pages/parts/player/ScrapeErrorPart.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/parts/player/ScrapeErrorPart.tsx b/src/pages/parts/player/ScrapeErrorPart.tsx index 5de7e650..0659b606 100644 --- a/src/pages/parts/player/ScrapeErrorPart.tsx +++ b/src/pages/parts/player/ScrapeErrorPart.tsx @@ -132,12 +132,7 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { {t("player.scraping.notFound.homeButton")} - {error ? ( - modal.hide()} - error={error} - /> - ) : null} ); } From c220f937bb3b0f57b74c11250778c7bc73ec2f07 Mon Sep 17 00:00:00 2001 From: Captain Jack Sparrow <163903675+sussy-code@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:26:36 -0400 Subject: [PATCH 5/6] Update src/pages/parts/player/ScrapeErrorPart.tsx Co-authored-by: William Oldham --- src/pages/parts/player/ScrapeErrorPart.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pages/parts/player/ScrapeErrorPart.tsx b/src/pages/parts/player/ScrapeErrorPart.tsx index 2ee63b15..adeb6488 100644 --- a/src/pages/parts/player/ScrapeErrorPart.tsx +++ b/src/pages/parts/player/ScrapeErrorPart.tsx @@ -51,10 +51,6 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { useEffect(() => { getExtensionState().then((state: ExtensionStatus) => { setExtensionState(state); - if (state === "disallowed") { - setTitle(t("player.scraping.extensionFailure.disabledTitle")); - setIcon(Icons.LOCK); - } }); }, [t]); From f4d5042dcde99d157673b7bfb2a559bfb63149cf Mon Sep 17 00:00:00 2001 From: Captain Jack Sparrow <163903675+sussy-code@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:26:43 -0400 Subject: [PATCH 6/6] Update src/pages/parts/player/ScrapeErrorPart.tsx Co-authored-by: William Oldham --- src/pages/parts/player/ScrapeErrorPart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/parts/player/ScrapeErrorPart.tsx b/src/pages/parts/player/ScrapeErrorPart.tsx index adeb6488..df14a611 100644 --- a/src/pages/parts/player/ScrapeErrorPart.tsx +++ b/src/pages/parts/player/ScrapeErrorPart.tsx @@ -58,8 +58,8 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { return ( - {t("player.scraping.notFound.badge")} - {title} + {t("player.scraping.notFound.badge")} + t("player.scraping.extensionFailure.disabledTitle")