From 8f2232d108c2fd2ebc8dc26cb7b44479cb5a7f16 Mon Sep 17 00:00:00 2001 From: Artur Heinze Date: Mon, 7 Oct 2024 15:57:39 +0200 Subject: [PATCH] replace _.debounce with KISS.utils.debounce --- modules/Content/views/collection/item.php | 2 +- modules/Content/views/singleton/item.php | 2 +- modules/Content/views/tree/item.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/Content/views/collection/item.php b/modules/Content/views/collection/item.php index 56b934a4..d5f8ded7 100644 --- a/modules/Content/views/collection/item.php +++ b/modules/Content/views/collection/item.php @@ -342,7 +342,7 @@ context: { model: this.model.name }, - resolver: _.debounce((data, update) => { + resolver: KISS.utils.debounce((data, update) => { this.$request(`/content/populate`, {data: data.data, locale: data.locale}).then(resolvedData => { update(Object.assign(data, {data: resolvedData})); diff --git a/modules/Content/views/singleton/item.php b/modules/Content/views/singleton/item.php index f78e9b4b..3cdbc347 100644 --- a/modules/Content/views/singleton/item.php +++ b/modules/Content/views/singleton/item.php @@ -301,7 +301,7 @@ context: { model: this.model.name }, - resolver: _.debounce((data, update) => { + resolver: KISS.utils.debounce((data, update) => { this.$request(`/content/populate`, {data: data.data, locale: data.locale}).then(resolvedData => { update(Object.assign(data, {data: resolvedData})); diff --git a/modules/Content/views/tree/item.php b/modules/Content/views/tree/item.php index 1b179ed3..1a8d3a9c 100644 --- a/modules/Content/views/tree/item.php +++ b/modules/Content/views/tree/item.php @@ -335,7 +335,7 @@ context: { model: this.model.name }, - resolver: _.debounce((data, update) => { + resolver: KISS.utils.debounce((data, update) => { this.$request(`/content/populate`, {data: data.data, locale: data.locale}).then(resolvedData => { update(Object.assign(data, {data: resolvedData}));