From a72aa528cc3d038d71b15650a366db86c427480f Mon Sep 17 00:00:00 2001 From: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:00:19 -0700 Subject: [PATCH] chores(ui): change the tab text and icon Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> --- ui/src/index.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/src/index.tsx b/ui/src/index.tsx index d04dac4..d02b8e0 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -208,4 +208,13 @@ export const Extension = (props: { return ; }; -export const component = Extension; +// Register the component extension in ArgoCD +((window: any) => { + window?.extensionsAPI?.registerResourceExtension( + Extension, + "*", + "Rollout", + "Rollout", + { icon: "fa-sharp fa-light fa-bars-progress fa-lg" } + ); +})(window); \ No newline at end of file