Skip to content

Commit

Permalink
feat: is_active on front
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-99 committed Jul 31, 2024
1 parent 9698f02 commit 6dafb75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion explorer/lib/explorer/models/operators.ex
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ defmodule Operators do
def unregister_operator(%Operators{address: address}) do
query = from(o in Operators, where: o.address == ^address)
Explorer.Repo.update_all(query, set: [is_active: false])
# TODO also update their stake?
end

end
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
</:col>
<:col :let={_operator} label="Total ETH Restaked">
TODO
</:col>
<:col :let={operator} label="Active">
<%= operator.is_active %>
</:col>
</.table>
</div>

0 comments on commit 6dafb75

Please sign in to comment.