Skip to content

Commit

Permalink
Specifically target only first tab when replacing help
Browse files Browse the repository at this point in the history
  • Loading branch information
thatsmydoing committed Jun 27, 2023
1 parent 244a8ab commit 26c86fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/verdaccio-5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { copyToClipboard, init, isLoggedIn } from "./plugin"

const loginButtonSelector = `[data-testid="header--button-login"]`
const logoutButtonSelector = `[data-testid="header--button-logout"]`
const dialogContentSelector = `[data-testid="registryInfo--dialog"] [role="tabpanel"] div`
const dialogContentSelector = `[data-testid="registryInfo--dialog"] #simple-tabpanel-0 div`
const copyButtonSelector = `[data-testid="copy"]`

function getUsageInfo(fileName: string, fileContents: string) {
Expand Down

0 comments on commit 26c86fb

Please sign in to comment.