Added important to route display state to force a route to not be visible.

This commit is contained in:
Matt Mo 2021-12-06 09:27:23 -08:00
parent aac9b6d59a
commit ca243e9b67

@ -47,7 +47,7 @@ IgniteTemplate.prototype.route = function(routes, showCallback = null, hideCallb
}
} else {
//Hide the route element.
this.element.style.setProperty("display", "none");
this.element.style.setProperty("display", "none", "important");
if (hideCallback) {
hideCallback();