Skip to content

Commit

Permalink
Fix viewport component attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkonidas committed Aug 19, 2024
1 parent dedc787 commit 37c241b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plexus_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ defmodule PlexusWeb.CoreComponents do
<tbody
id={@id}
phx-update={match?(%Phoenix.LiveView.LiveStream{}, @rows) && "stream"}
phx-viewport-top={match?(%Phoenix.LiveView.LiveStream{}, @rows) && @viewport_top}
phx-viewport-bottom={match?(%Phoenix.LiveView.LiveStream{}, @rows) && @viewport_bottom}
phx-viewport-top={match?(%Phoenix.LiveView.LiveStream{}, @rows) && assigns[:viewport_top]}
phx-viewport-bottom={match?(%Phoenix.LiveView.LiveStream{}, @rows) && assigns[:viewport_bottom]}
phx-page-loading
class="relative divide-y divide-zinc-100 border-t border-zinc-200 text-sm leading-6 text-zinc-700"
>
Expand Down

0 comments on commit 37c241b

Please sign in to comment.