]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[WebUI] Grey out not loaded maps in the Maps table 5408/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 25 Mar 2025 16:42:18 +0000 (19:42 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 25 Mar 2025 16:42:18 +0000 (19:42 +0300)
interface/js/app/config.js

index 48cac10872ffaca42e0fb17b5cc915da59272c5c..57e7ee37b8f0a7713bf38598ef971bf8bf20a89d 100644 (file)
@@ -130,6 +130,7 @@ define(["jquery", "app/common"],
                         });
 
                         const $tr = $("<tr>").append($td).append($("<td>" + item.type + "</td>"));
+                        if (!item.loaded) $tr.addClass("table-light opacity-50");
 
                         const $span = $('<span class="map-link">' + item.uri + "</span>").data("item", item);
                         $span.wrap("<td>").parent().appendTo($tr);