Skip to content

Commit

Permalink
fix connected accounts conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Butcher committed Jan 29, 2021
1 parent 5e91ec1 commit 7470deb
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@

<div class="mt-5 space-y-6">
@foreach ($this->providers as $provider)
<<<<<<< HEAD
@php
$account = null;
$account = $this->accounts->where('provider', $provider)->first()
$account = $this->accounts->where('provider_name', $provider)->first()
@endphp
=======
@if ($account = $this->accounts->where('provider', $provider)->first())
<x-connected-account provider="{{ $account->provider }}" created-at="{{ $account->created_at }}">
>>>>>>> 2.x

<x-connected-account provider="{{ $provider }}" created-at="{{ $account->created_at ?? null }}">
<x-slot name="action">
Expand Down

0 comments on commit 7470deb

Please sign in to comment.