Просмотр исходного кода

Bug fix: loader was not displaying when switching merchants.

Lee Morgan 5 лет назад
Родитель
Сommit
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())