Skip to content

Commit 75288da

Browse files
committed
Show inspect button when only when time selected
1 parent eed5de9 commit 75288da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SponsorTimeEditComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
312312
</span>
313313
): ""}
314314

315-
{(!isNaN(segment[1]) && this.state.selectedActionType != ActionType.Full) ? (
315+
{(!isNaN(segment[0]) && this.state.selectedActionType != ActionType.Full) ? (
316316
<span id={"sponsorTimeInspectButton" + this.idSuffix}
317317
className="sponsorTimeEditButton"
318318
onClick={this.inspectTime.bind(this)}>

0 commit comments

Comments
 (0)