Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getters.js « pane « modules « stores « ide « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c346cf1368955ff5b0b5ffd4691d3196842e2e46 (plain)
1
2
3
4
export const isActiveView = state => view => state.currentView === view;

export const isAliveView = (state, getters) => view =>
  state.keepAliveViews[view] || (state.isOpen && getters.isActiveView(view));