From c1078255fc836f4609bda779cfac3f713b7b720b Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 17 Oct 2021 14:47:30 +0200 Subject: [PATCH] fix: use lodash.debounce for searching unsplash background --- package.json | 1 + src/views/list/settings/background.vue | 32 +++++++++++--------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 522636e0..8b0ac6a2 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "highlight.js": "11.2.0", "is-touch-device": "1.0.1", "lodash.clonedeep": "^4.5.0", + "lodash.debounce": "^4.0.8", "marked": "3.0.7", "register-service-worker": "1.7.2", "snake-case": "3.0.4", diff --git a/src/views/list/settings/background.vue b/src/views/list/settings/background.vue index 41e8b319..4a93d746 100644 --- a/src/views/list/settings/background.vue +++ b/src/views/list/settings/background.vue @@ -28,7 +28,7 @@