Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
e7de2770
Commit
e7de2770
authored
1 year ago
by
Hangzhi Yu
Browse files
Options
Downloads
Patches
Plain Diff
Reset selected event after refresh
parent
238c805a
Loading
Loading
1 merge request
!1318
Resolve "Calendar event detail view is not properly updated on refresh"
Pipeline
#147467
failed
1 year ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/frontend/components/calendar/Calendar.vue
+6
-0
6 additions, 0 deletions
aleksis/core/frontend/components/calendar/Calendar.vue
with
6 additions
and
0 deletions
aleksis/core/frontend/components/calendar/Calendar.vue
+
6
−
0
View file @
e7de2770
...
...
@@ -376,6 +376,9 @@ export default {
this
.
fetchMoreInterval
=
setInterval
(()
=>
{
this
.
fetchMoreCalendarEvents
(
this
.
extendedStart
,
this
.
extendedEnd
);
},
30000
);
// Also reset the currently selected event (for the detail view)
this
.
selectedEvent
=
null
;
},
fetch
()
{
this
.
title
=
this
.
$refs
.
calendar
.
title
;
...
...
@@ -404,6 +407,9 @@ export default {
this
.
fetchMoreInterval
=
setInterval
(()
=>
{
this
.
fetchMoreCalendarEvents
(
this
.
extendedStart
,
this
.
extendedEnd
);
},
30000
);
// Also reset the currently selected event (for the detail view)
this
.
selectedEvent
=
null
;
}
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment