fix: redirect to server index instead of show on error in Advanced and DockerCleanup components

This commit is contained in:
Andras Bacsai committed 2025-01-16 21:35:48 +01:00
1 parent e0aeb35316
commit a771993d97
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class Advanced extends Component
$this->parameters = get_route_parameters();
$this->syncData();
} catch (\Throwable) {
return redirect()->route('server.show');
return redirect()->route('server.index');
}
}