Commit 8ff205b5 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'fix-calendar-events-fetching-error' into 'master'

Fix calendar events fetching error on private profile page.

Closes #54938

See merge request gitlab-org/gitlab-ce!23718
parents c7ac2c71 1ead4632
...@@ -208,6 +208,8 @@ export default class UserTabs { ...@@ -208,6 +208,8 @@ export default class UserTabs {
loadActivityCalendar() { loadActivityCalendar() {
const $calendarWrap = this.$parentEl.find('.tab-pane.active .user-calendar'); const $calendarWrap = this.$parentEl.find('.tab-pane.active .user-calendar');
if (!$calendarWrap.length) return;
const calendarPath = $calendarWrap.data('calendarPath'); const calendarPath = $calendarWrap.data('calendarPath');
AjaxCache.retrieve(calendarPath) AjaxCache.retrieve(calendarPath)
......
---
title: Fix calendar events fetching error on private profile page
merge_request: 23718
author: Harry Kiselev
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment