Drop windowResize/windowResizeCallback in favor of ResizeObservable

This commit is contained in:
djmaze 2020-08-19 12:34:05 +02:00
parent e192b60d69
commit 7a21694396
14 changed files with 25 additions and 110 deletions

View file

@ -1,6 +1,6 @@
import ko from 'ko';
import { windowResizeCallback, delegateRunOnDestroy } from 'Common/Utils';
import { delegateRunOnDestroy } from 'Common/Utils';
import { StorageResultType, Notification } from 'Common/Enums';
import { getNotification } from 'Common/Translator';
@ -23,8 +23,6 @@ class FiltersUserSettings {
this.saveErrorText = ko.observable('');
this.filters.subscribe(windowResizeCallback);
this.serverError.subscribe((value) => {
if (!value) {
this.serverErrorDesc('');