Skip to content

Commit

Permalink
Merge pull request #128 from VincentLahaye/patch-1
Browse files Browse the repository at this point in the history
Fix modal bug in connected-accounts-form.blade.php
  • Loading branch information
andrewdwallo committed Mar 8, 2024
2 parents 3f5df4d + 26069d3 commit 6baede5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/profile/connected-accounts-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
<div class="flex items-center justify-end gap-x-2">
@if ($account->avatar_path !== null && Wallo\FilamentCompanies\Features::managesProfilePhotos() && Wallo\FilamentCompanies\Socialite::hasProviderAvatarsFeature())
<x-filament::button size="sm"
wire:click="setAvatarAsProfilePhoto({{ $account->id }})">
wire:click="setAvatarAsProfilePhoto('{{ $account->id }}')">
{{ __('filament-companies::default.buttons.use_avatar_as_profile_photo') }}
</x-filament::button>
@endif

@if ($this->user->password !== null || $this->accounts->count() > 1)
<x-filament::button color="danger" size="sm"
wire:click="confirmRemove({{ $account->id }})">
wire:click="confirmRemove('{{ $account->id }}')">
{{ __('filament-companies::default.buttons.remove') }}
</x-filament::button>
@endif
Expand Down Expand Up @@ -79,7 +79,7 @@
@endif

<x-filament::button color="danger"
wire:click="removeConnectedAccount({{ $this->selectedAccountId }})">
wire:click="removeConnectedAccount('{{ $this->selectedAccountId }}')">
{{ __('filament-companies::default.buttons.remove_connected_account') }}
</x-filament::button>
</x-slot>
Expand Down

0 comments on commit 6baede5

Please sign in to comment.