diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-29 15:05:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-29 15:05:12 +0100 |
commit | e2aeb8ad0f3055d54ac416ec5908d26b70aac4be (patch) | |
tree | 4536db7cefc32c695e040847946c48fe3ed6e9c5 /client/src | |
parent | 0628157fe9662fdb2b6fa658b8b53fe684c013ce (diff) | |
download | PeerTube-e2aeb8ad0f3055d54ac416ec5908d26b70aac4be.tar.gz PeerTube-e2aeb8ad0f3055d54ac416ec5908d26b70aac4be.tar.zst PeerTube-e2aeb8ad0f3055d54ac416ec5908d26b70aac4be.zip |
Replace url when redirecting plugin admin url
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts index 6d66869dd..960e711b4 100644 --- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts +++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.ts | |||
@@ -41,7 +41,7 @@ export class PluginListInstalledComponent implements OnInit { | |||
41 | if (!this.route.snapshot.queryParams['pluginType']) { | 41 | if (!this.route.snapshot.queryParams['pluginType']) { |
42 | const queryParams = { pluginType: PluginType.PLUGIN } | 42 | const queryParams = { pluginType: PluginType.PLUGIN } |
43 | 43 | ||
44 | this.router.navigate([], { queryParams }) | 44 | this.router.navigate([], { queryParams, replaceUrl: true }) |
45 | } | 45 | } |
46 | 46 | ||
47 | this.route.queryParams.subscribe(query => { | 47 | this.route.queryParams.subscribe(query => { |