Преглед на файлове

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())