update bindle page

This commit is contained in:
HolgerHatGarKeineNode
2023-08-02 16:06:05 +02:00
parent e80ae2525d
commit 9177dc22aa
2 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ class LibraryItemForm extends Component
)
->toArray();
$libaries = Library::query()
->when(auth()->id() !== config('portal.bonus.fiat-tracker-user-id'),
->when(auth()->id() != config('portal.bonus.fiat-tracker-user-id'),
fn($query) => $query->where('name', '!=', 'Bindle')
)
->get()
@@ -168,7 +168,7 @@ class LibraryItemForm extends Component
])
->toArray();
if (auth()->id() === config('portal.bonus.fiat-tracker-user-id')) {
if (auth()->id() == config('portal.bonus.fiat-tracker-user-id')) {
$types = collect($types)->prepend([
'label' => 'Bindle',
'value' => 'bindle',