mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 13:07:05 +03:00
Don't show never show when already hidden
This commit is contained in:
@@ -252,8 +252,8 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
|
|||||||
{/* Unskip/Skip Button */}
|
{/* Unskip/Skip Button */}
|
||||||
{!this.props.smaller ? this.getSkipButton() : null}
|
{!this.props.smaller ? this.getSkipButton() : null}
|
||||||
|
|
||||||
{/* Never show button if autoSkip is enabled */}
|
{/* Never show button */}
|
||||||
{!this.autoSkip ? "" :
|
{!this.autoSkip || this.props.startReskip ? "" :
|
||||||
<td className="sponsorSkipNoticeRightSection"
|
<td className="sponsorSkipNoticeRightSection"
|
||||||
key={1}>
|
key={1}>
|
||||||
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
|
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
|
||||||
|
|||||||
Reference in New Issue
Block a user