Skip to content

Commit

Permalink
Fix wrong config keys
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 25, 2023
1 parent ced56a0 commit a02e19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/realtime-compiler/src/Http/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static function highlightMediaLibraryCode(string $contents): HtmlString

public function showTips(): bool
{
return config('hyde.server.tips', true);
return config('hyde.server.dashboard_tips', true);
}

public function getTip(): HtmlString
Expand Down Expand Up @@ -266,7 +266,7 @@ public static function renderIndexPage(HydePage $page): string

public function isInteractive(): bool
{
return config('hyde.server.editor', true);
return config('hyde.server.dashboard_editor', true);
}

public function getScripts(): string
Expand Down

0 comments on commit a02e19b

Please sign in to comment.