From 832006f223b0ca8b5cca910e093fb259edbe3697 Mon Sep 17 00:00:00 2001 From: RubenPX Date: Fri, 8 Apr 2022 12:40:11 +0200 Subject: [PATCH] fix reset list to avoid repeat api calls --- ereuse_devicehub/static/js/main_inventory.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index 84097ded..73173aab 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -349,6 +349,7 @@ async function processSelectedDevices() { } } }) + this.list = [] } }