Commit ca56311d authored by Mike Greiling's avatar Mike Greiling

Merge branch 'fix-comment-race-condition' into 'master'

Fix race condition with polling when saving notes

Closes gitlab-ee#12472

See merge request gitlab-org/gitlab-ce!30724
parents 6eca380e fcc7d5c0
......@@ -357,11 +357,11 @@ export const poll = ({ commit, state, getters, dispatch }) => {
};
export const stopPolling = () => {
eTagPoll.stop();
if (eTagPoll) eTagPoll.stop();
};
export const restartPolling = () => {
eTagPoll.restart();
if (eTagPoll) eTagPoll.restart();
};
export const fetchData = ({ commit, state, getters }) => {
......
---
title: Fix commenting before discussions are loaded
merge_request: 30724
author:
type: fixed
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