Merge pull request #6770 from ninjadq/fix_issue_global_search_cannot_reload_data

Fix: data not reload when global serach navigate to same location
This commit is contained in:
Mia ZHOU 2019-01-18 14:30:36 +08:00 committed by GitHub
commit 1ca9fb59b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "harbor", "name": "harbor",
"version": "1.7.0", "version": "1.7.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -199,7 +199,7 @@ const harborRoutes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forRoot(harborRoutes) RouterModule.forRoot(harborRoutes, {onSameUrlNavigation: 'reload'})
], ],
exports: [RouterModule] exports: [RouterModule]
}) })