mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Bugfixes [ColorOrder apply, hue wizard, ledDevice display] (#621)
* Resolve general colorOrder update issue * Fix: wizard.js syntax broken * Fix: Remove active device prop and migrate to config data * Fixing instanceStop Bug on WebUi (#10) * Fixing instanceStop Bug on WebUi * Added removeStorage * Changes to deletion logic * Improvements to deletion check * Feat: Show always save btn & rm generate btn
This commit is contained in:
@@ -40,6 +40,17 @@ function setStorage(item, value, session)
|
||||
}
|
||||
}
|
||||
|
||||
function removeStorage(item, session)
|
||||
{
|
||||
if(storageComp())
|
||||
{
|
||||
if(session === true)
|
||||
sessionStorage.removeItem(item);
|
||||
else
|
||||
localStorage.removeItem(item);
|
||||
}
|
||||
}
|
||||
|
||||
function debugMessage(msg)
|
||||
{
|
||||
if (window.debugMessagesActive)
|
||||
|
Reference in New Issue
Block a user