Commit 1ead4632 authored by Harry Kiselev's avatar Harry Kiselev Committed by Fatih Acet

Fix calendar events fetching error on private profile page.

parent c7ac2c71
...@@ -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