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 */}
|
{/* Toggle Box */}
|
||||||
<div className="sbControlsMenu">
|
<div className="sbControlsMenu">
|
||||||
<SkipProfileButton
|
{
|
||||||
videoID={videoID}
|
videoID &&
|
||||||
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning}
|
<SkipProfileButton
|
||||||
/>
|
videoID={videoID}
|
||||||
|
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning}
|
||||||
|
/>
|
||||||
|
}
|
||||||
<label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}>
|
<label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}>
|
||||||
<span className="toggleSwitchContainer-switch">
|
<span className="toggleSwitchContainer-switch">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
|
|||||||
Reference in New Issue
Block a user