diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/options/CategorySkipOptionsComponent.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/options/CategorySkipOptionsComponent.tsx b/src/components/options/CategorySkipOptionsComponent.tsx index b7b59c97..d9d89cf0 100644 --- a/src/components/options/CategorySkipOptionsComponent.tsx +++ b/src/components/options/CategorySkipOptionsComponent.tsx @@ -139,6 +139,12 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr case "autoSkip": option = CategorySkipOption.AutoSkip; + if (this.props.category === "filler" && !Config.config.isVip) { + if (!confirm(chrome.i18n.getMessage("FillerWarning"))) { + event.target.value = "disable"; + } + } + break; } |