From e70b0b22f3ea570eb9c86a8a31306de869271a75 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 28 Apr 2023 11:43:45 +0200 Subject: [PATCH] refs #5517 Code clean --- front/salix/components/log/index.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/front/salix/components/log/index.js b/front/salix/components/log/index.js index a37ab5d92..19bf5b597 100644 --- a/front/salix/components/log/index.js +++ b/front/salix/components/log/index.js @@ -42,18 +42,8 @@ export default class Controller extends Section { $postLink() { this.resetFilter(); - const {$} = this; - $.$watch( - () => [ - $.filter.changedModelValue, - $.filter.who, - $.filter.changedModel, - $.filter.changedModelId, - $.filter.userFk, - $.filter.actions, - $.filter.from, - $.filter.to - ], + this.$.$watch( + () => this.$.filter, () => this.applyFilter(), true );