fix: Resolve PBS banner bug and build issues (fixes #55)

This commit is contained in:
courtmanr@gmail.com
2025-04-25 23:47:58 +01:00
parent e02b581103
commit 42dbf8e2c7
5 changed files with 90 additions and 71 deletions
+7
View File
@@ -1687,6 +1687,13 @@ document.addEventListener('DOMContentLoaded', function() {
loadingMessage.remove();
}
// ---> ADDED: Also remove the 'Not Configured' banner if present, as we now have data
const notConfiguredBanner = container.querySelector('.pbs-not-configured-banner');
if (notConfiguredBanner) {
notConfiguredBanner.remove();
}
// ---> END ADDED
// console.log('[updatePbsInfo] Processing PBS array:', pbsArray);
const currentInstanceIds = new Set();
-3
View File
@@ -10,9 +10,6 @@ module.exports = {
{
pattern: /^(bg|text)-(red|yellow|green|blue)-(100|200|300|400|500|600|700|800|900)(\/50)?$/,
},
{
pattern: /^dark:(bg|text)-(red|yellow|green|blue)-(100|200|300|400|500|600|700|800|900)(\/50)?$/,
},
'vm-icon',
'ct-icon',
],