From 9c2c64312771673012b3143a073bb6c227f4745f Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Tue, 17 Nov 2020 13:07:09 +0100
Subject: [sysconfig] Dynamically update warnings button
As we use AJAX to query build state for configs that don't have
state === 'OK', the warnings list might be out of date. Hide the
warnings button for all modules that aren't up to date, and dynamically
load their warnings. The warnings button will be shown when the module
finished building, assuming any warnings were generated.
---
modules-available/sysconfig/templates/list-configs.html | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
(limited to 'modules-available/sysconfig/templates/list-configs.html')
diff --git a/modules-available/sysconfig/templates/list-configs.html b/modules-available/sysconfig/templates/list-configs.html
index b5367f8b..1370155f 100644
--- a/modules-available/sysconfig/templates/list-configs.html
+++ b/modules-available/sysconfig/templates/list-configs.html
@@ -20,21 +20,17 @@