aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/components/SponsorTimeEditComponent.tsx12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx
index eb0109e3..753be97a 100644
--- a/src/components/SponsorTimeEditComponent.tsx
+++ b/src/components/SponsorTimeEditComponent.tsx
@@ -128,11 +128,13 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
style={timeDisplayStyle}
className="sponsorTimeDisplay">
- <span id={"startButton" + this.idSuffix}
- className="sponsorNowButton"
- onClick={() => this.setTimeTo(0, 0)}>
- {chrome.i18n.getMessage("bracketStart")}
- </span>
+ {sponsorTime.actionType !== ActionType.Poi ? (
+ <span id={"startButton" + this.idSuffix}
+ className="sponsorNowButton"
+ onClick={() => this.setTimeTo(0, 0)}>
+ {chrome.i18n.getMessage("bracketStart")}
+ </span>
+ ): ""}
<span id={"nowButton0" + this.idSuffix}
className="sponsorNowButton"