Преглед изворни кода

Bug fix: loader was not displaying when switching merchants.

Lee Morgan пре 5 година
родитељ
комит
d806642ecf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      views/dashboardPage/js/strands/account.js

+ 1 - 1
views/dashboardPage/js/strands/account.js

@@ -126,7 +126,7 @@ let account = {
 
     switchMerchant: function(id){
         let loader = document.getElementById("loaderContainer");
-        loader.style.display = "none";
+        loader.style.display = "flex";
 
         fetch(`/merchant/${id}`)
             .then(response => response.json())