From 1d44c8b5dd644b6f753cfc7d9eae56da67ab8b7f Mon Sep 17 00:00:00 2001 From: Lam Tang Date: Wed, 20 Mar 2024 20:12:45 +0800 Subject: [PATCH] fix: header labels don't show up in archived repos (#782) --- .../ContentScripts/features/repo-header-labels/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/ContentScripts/features/repo-header-labels/index.tsx b/src/pages/ContentScripts/features/repo-header-labels/index.tsx index f4ba45be..42def69d 100644 --- a/src/pages/ContentScripts/features/repo-header-labels/index.tsx +++ b/src/pages/ContentScripts/features/repo-header-labels/index.tsx @@ -47,9 +47,7 @@ const init = async (): Promise => { container.id = featureId; renderTo(container); await elementReady('#repository-container-header'); - $('#repository-container-header') - .find('span.Label.Label--secondary') - .after(container); + $('#repository-container-header').find('span.Label').after(container); }; const restore = async () => {