-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
add timestamp to block overview #1769
Conversation
Pull Request Test Coverage Report for Build ba05a21c-7769-4fe3-a79d-72bbc39a6b5f
💛 - Coveralls |
@@ -22,7 +22,7 @@ function updateAge (el, timestamp) { | |||
let fromNow = timestamp.fromNow() | |||
// show the exact time only for transaction details page. Otherwise, short entry | |||
const elInTile = el.hasAttribute('in-tile') | |||
if (window.location.pathname.includes('/tx/') && !elInTile) { | |||
if ((window.location.pathname.includes('/tx/') || window.location.pathname.includes('/blocks/')) && !elInTile) { |
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.
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.
@vbaranov I think everything's ok
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.
Oh, cool. Could you please check /blocks
page with all blocks. Are the tiles not broken there?
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.
yes, it's ok because I didn't delete !elInTile
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.
Sorry, then. Approved.
fixes #1764
Changelog