Skip to content

Commit

Permalink
fix: #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdiunal committed Aug 3, 2024
1 parent e1fd5df commit d1d2293
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file added bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/css/tool.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/js/pages/Panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const props = defineProps({
<template>
<div class="panel">
<div class="panel-title">
<h2 class="text-base font-semibold leading-7 text-gray-900">
<h2 class="text-base font-semibold leading-7">
{{ title }}
</h2>
<p class="mt-1 text-sm leading-6 text-gray-600">
<p class="mt-1 text-sm leading-6 font-thin">
{{ description }}
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/SettingsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private function getSettings($name): Collection
)->flatMap(
fn ($setting) => app($setting)->toArray()
);
} catch (RuntimeException | Exception | Error $e) {
} catch (RuntimeException|Exception|Error $e) {
return new Collection([]);
}
}
Expand Down Expand Up @@ -68,7 +68,7 @@ public function __get($name)
protected function all(bool $dot = true): Collection
{
return collect($this->settings)->when(
!$this->group,
! $this->group,
fn ($collection) => $collection->mapWithKeys(
fn ($setting) => [
$setting::group() => app($setting)->toArray(),
Expand Down

0 comments on commit d1d2293

Please sign in to comment.