From 40513c556daca23a502f83bfb4bed688f75647e6 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 16 May 2022 00:10:50 +1000 Subject: [PATCH] Remove locate button from top-level stock location --- InvenTree/stock/templates/stock/location.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 14d5fbfa4d..1066adf6ea 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -29,7 +29,7 @@ {% endif %} {% mixin_available "locate" as locate_available %} -{% if plugins_enabled and locate_available %} +{% if location and plugins_enabled and locate_available %}