Skip to content

Commit

Permalink
fix: UI
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Dec 10, 2024
1 parent fb99197 commit 2195c0d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Core/src/Pages/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,6 @@ protected function systemViewData(): array

public function getView(): string
{
return 'moonshine::layouts.app';
return 'moonshine::page';
}
}
4 changes: 2 additions & 2 deletions src/UI/resources/views/components/layout/body.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

{{ $slot ?? '' }}

@include('moonshine::layouts.shared.img-popup')
@include('moonshine::layouts.shared.toasts')
@include('moonshine::shared.img-popup')
@include('moonshine::shared.toasts')

@stack('scripts')
</body>
2 changes: 1 addition & 1 deletion src/UI/resources/views/components/metrics/value.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@endif

<div class="report-card-body">
<div class="report-card-value">{!! $simpleValue !!}</div>
<div class="report-card-value">{!! $simpleValue !== '' ? $simpleValue : $value !!}</div>
<h5 class="report-card-title">{!! $title !!}</h5>
</div>
</div>
File renamed without changes.

0 comments on commit 2195c0d

Please sign in to comment.