fixed zipf notification not showing

closes #4067
This commit is contained in:
Miodec 2023-03-13 13:58:54 +01:00
parent 07ef4fe243
commit aafbfce74e

View file

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