feat: dashboard
This commit is contained in:
@@ -148,7 +148,7 @@ export class PluginManagerComponent {
|
||||
}
|
||||
|
||||
openStore(): void {
|
||||
const returnUrl = this.router.url.startsWith('/plugin-store') ? '/search' : this.router.url;
|
||||
const returnUrl = this.router.url.startsWith('/plugin-store') ? '/dashboard' : this.router.url;
|
||||
|
||||
this.storeOpened.emit();
|
||||
void this.router.navigate(['/plugin-store'], { queryParams: { returnUrl } });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<main class="min-h-screen bg-background p-6 text-foreground">
|
||||
<a
|
||||
routerLink="/search"
|
||||
routerLink="/dashboard"
|
||||
class="text-sm text-muted-foreground hover:text-foreground"
|
||||
>Back</a
|
||||
>
|
||||
|
||||
@@ -601,7 +601,7 @@ export class PluginStoreComponent implements OnInit {
|
||||
return returnUrl;
|
||||
}
|
||||
|
||||
return '/search';
|
||||
return '/dashboard';
|
||||
}
|
||||
|
||||
private canManageServerPlugins(room: Room, user: User): boolean {
|
||||
|
||||
Reference in New Issue
Block a user