mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2026-03-15 14:48:41 +00:00
Fixed: Shortcut items duplicates on search in some cases
This commit is contained in:
@@ -153,8 +153,15 @@ export class FuseNavigationService
|
||||
*/
|
||||
getFlatNavigation(navigationItems?)
|
||||
{
|
||||
// If navigation items not provided,
|
||||
// that means we are running the function
|
||||
// for the first time...
|
||||
if ( !navigationItems )
|
||||
{
|
||||
// Reset the flat navigation
|
||||
this.flatNavigation = [];
|
||||
|
||||
// Get the entire navigation model
|
||||
navigationItems = this.navigationModel.model;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user