From 7f2d45d09a456195033dd3e95d87a538c4b5c8d4 Mon Sep 17 00:00:00 2001 From: den67rus <den67rus@gmail.com> Date: Fri, 28 Feb 2020 03:18:23 +0300 Subject: [PATCH] fix: init button selectors broken in latest version of verdaccio --- src/client/verdaccio-4.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/verdaccio-4.ts b/src/client/verdaccio-4.ts index 212c4add..5d3bb182 100644 --- a/src/client/verdaccio-4.ts +++ b/src/client/verdaccio-4.ts @@ -39,7 +39,7 @@ function updateUsageInfo() { } init({ - loginButton: "#header--button-login", - logoutButton: "#header--button-logout", + loginButton: "#header--button-login, [data-testid='header--button-login']", + logoutButton: "#header--button-logout, [data-testid='header--button-logout']", updateUsageInfo, })