webui: entity menu items navigate to main entity facet

I.e. remove memory from bare entity navigation

Reviewed-By: David Kupka <dkupka@redhat.com>
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
This commit is contained in:
Petr Vobornik committed 2015-05-20 14:04:10 +02:00
1 parent ae62bd6914
commit 2be8eeb04f
1 file changed
-3
-3
View File
@@ -342,9 +342,6 @@ exp.entity = IPA.entity = function(spec) {
}
if (name === undefined) {
// return the current facet
if (that.facet) return that.facet;
// return the main facet
return that.facets.values[0];