-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Bids 2624) Add /slots query to URL #2804
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -77,7 +84,7 @@ func EpochsData(w http.ResponseWriter, r *http.Request) { | |||
var epochs []*types.EpochsPageData | |||
|
|||
latestFinalizedEpoch := services.LatestFinalizedEpoch() | |||
if search == -1 { | |||
if emptySearch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: The else a few lines below this should be a
} else if search != -1 {
so that we don't do a pointless query for epoch -1.
if (q) { | ||
votesTblOpts.search = { search: q } | ||
//votesTblOpts.search = { search: q } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Can be deleted.
New PR #2822 was created to replace this one. |
copilot:summary