Skip to content
Snippets Groups Projects
Commit 980ffa20 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Merge branch 'fix-pipelines-store-test' into 'master'

Replace arrow function with regular function to prevent overiding function context

See merge request !9057
parents e52a03ae 66df8def
No related branches found
No related tags found
1 merge request!9057Replace arrow function with regular function to prevent overiding function context
Pipeline #
Loading
Loading
@@ -26,7 +26,7 @@ class PipelinesStore {
*/
startTimeAgoLoops() {
const startTimeLoops = () => {
this.timeLoopInterval = setInterval(() => {
this.timeLoopInterval = setInterval(function timeloopInterval() {
this.$children[0].$children.reduce((acc, component) => {
const timeAgoComponent = component.$children.filter(el => el.$options._componentTag === 'time-ago')[0];
acc.push(timeAgoComponent);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment