mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-12 18:04:20 +01:00
Don't warn about using the word intro in chapter names
This commit is contained in:
parent
2bf6cf663b
commit
814df46521
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export interface SponsorTimeEditState {
|
||||||
chapterNameSelectorHovering: boolean;
|
chapterNameSelectorHovering: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const categoryNamesGrams: string[] = [].concat(...CompileConfig.categoryList.filter((name) => name !== "chapter")
|
const categoryNamesGrams: string[] = [].concat(...CompileConfig.categoryList.filter((name) => !["chapter", "intro"].includes(name))
|
||||||
.map((name) => chrome.i18n.getMessage("category_" + name).split(/\/|\s|-/)));
|
.map((name) => chrome.i18n.getMessage("category_" + name).split(/\/|\s|-/)));
|
||||||
|
|
||||||
class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, SponsorTimeEditState> {
|
class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, SponsorTimeEditState> {
|
||||||
|
|
Loading…
Reference in a new issue