Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1373 from hashicorp/ui-bugfix-follow-logs-reset-c…
Browse files Browse the repository at this point in the history
…ount

reset count badge on scroll
  • Loading branch information
gregone authored Apr 21, 2021
2 parents 9391bfe + bb6cc8e commit 47a3d64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/1373.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: unread log count resets after scrolling
```
1 change: 1 addition & 0 deletions ui/app/components/log-stream/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default class LogStream extends Component<LogStreamArgs> {
element.closest('.output-scroll-y');

scrollableElement.scroll(0, scrollableElement.scrollHeight);
this.badgeCount = 0;
}

@action
Expand Down

0 comments on commit 47a3d64

Please sign in to comment.