Merge branch 'copySegment' of https://github.com/florianzahn/sponsorblock into pr/FlorianZahn/988

This commit is contained in:
Ajay Ramachandran
2021-10-13 23:25:48 -04:00

View File

@@ -263,8 +263,8 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
return elements; return elements;
} }
categoryLockedClass(category: string): string { getCategoryLockedClass(category: string): string {
return(this.props.contentContainer().lockedCategories.includes(category)) ? "SponsorBlockLockedColor" : "" return (this.props.contentContainer().lockedCategories.includes(category)) ? "SponsorBlockLockedColor" : "";
} }
categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>): void { categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>): void {