dsasd
This commit is contained in:
@@ -1224,7 +1224,7 @@ final class Router
|
||||
|
||||
private function bootstrapMeasurements(string $projectKey, array $settings, string $view): array
|
||||
{
|
||||
if (in_array($view, ['settings', 'dashboards', 'wallet'], true)) {
|
||||
if (in_array($view, ['upload', 'dashboards', 'wallet'], true)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -1313,7 +1313,7 @@ final class Router
|
||||
private function normalizeBootstrapView(string $view): string
|
||||
{
|
||||
$normalized = trim(strtolower($view));
|
||||
return in_array($normalized, ['overview', 'measurements', 'dashboards', 'mining', 'settings'], true)
|
||||
return in_array($normalized, ['overview', 'upload', 'measurements', 'wallet', 'dashboards', 'mining'], true)
|
||||
? $normalized
|
||||
: 'overview';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user