Replace url when redirecting plugin admin url
This commit is contained in:
parent
0628157fe9
commit
e2aeb8ad0f
|
@ -41,7 +41,7 @@ export class PluginListInstalledComponent implements OnInit {
|
||||||
if (!this.route.snapshot.queryParams['pluginType']) {
|
if (!this.route.snapshot.queryParams['pluginType']) {
|
||||||
const queryParams = { pluginType: PluginType.PLUGIN }
|
const queryParams = { pluginType: PluginType.PLUGIN }
|
||||||
|
|
||||||
this.router.navigate([], { queryParams })
|
this.router.navigate([], { queryParams, replaceUrl: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
this.route.queryParams.subscribe(query => {
|
this.route.queryParams.subscribe(query => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user