Commit b9fc8e00 authored by Wyatt Benno's avatar Wyatt Benno

Apply suggestion to src/modules/statuses.js

parent 67c89411
Pipeline #20083 failed with stages
in 9 minutes and 27 seconds
......@@ -577,9 +577,9 @@ const statuses = {
setVisibility ({ rootState, commit }, { visibleStatus, visible = true }) {
commit('setVisibility', { visibleStatus, visible })
},
timelineGC ({ rootState, commit }, { timelineObject }) {
timelineGC ({ rootState, commit, rootGetters }, { timelineObject }) {
const multiFetch = rootState.instance.multiFetch
const gcEnabled = rootState.config.garbageCollector
const gcEnabled = rootGetters.mergedConfig.garbageCollector
commit('timelineGC', { commit, timelineObject, multiFetch, gcEnabled })
},
addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false, userId }) {
......
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