Skip to content

Commit b0212aa

Browse files
karlitschekCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Frank Karlitschek <karlitschek@users.noreply.github.com>
1 parent f17843f commit b0212aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ActivityHeatmap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ async function loadHistogram(): Promise<void> {
462462
// the grid to exist before scrolling it.
463463
await nextTick()
464464
const element = scroller.value
465-
if (element !== undefined) {
465+
if (element) {
466466
element.scrollLeft = element.scrollWidth
467467
}
468468
} catch (error) {

0 commit comments

Comments
 (0)