fixed logic

This commit is contained in:
Miodec 2023-02-23 14:16:22 +01:00
parent 5183963dc4
commit a2827dd7f1

View file

@ -44,9 +44,8 @@ const debouncedZipfCheck = debounce(250, () => {
ConfigEvent.subscribe((eventKey, eventValue) => {
if (
eventKey === "language" ||
(eventKey === "funbox" &&
(eventValue as string).split("#").includes("zipf"))
(eventKey === "language" || eventKey === "funbox") &&
(eventValue as string).split("#").includes("zipf")
) {
debouncedZipfCheck();
}