mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-20 14:38:28 +03:00
Don't show skip profile button when not on a video
This commit is contained in:
@@ -163,10 +163,13 @@ export const PopupComponent = () => {
|
||||
|
||||
{/* Toggle Box */}
|
||||
<div className="sbControlsMenu">
|
||||
{
|
||||
videoID &&
|
||||
<SkipProfileButton
|
||||
videoID={videoID}
|
||||
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning}
|
||||
/>
|
||||
}
|
||||
<label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}>
|
||||
<span className="toggleSwitchContainer-switch">
|
||||
<input type="checkbox"
|
||||
|
||||
Reference in New Issue
Block a user