mirror of
https://github.com/weaveworks/scope.git
synced 2026-04-21 01:47:30 +00:00
12 lines
269 B
JavaScript
12 lines
269 B
JavaScript
import { createSelector } from 'reselect';
|
|
|
|
|
|
export const isPausedSelector = createSelector(
|
|
[
|
|
state => state.get('pausedAt')
|
|
],
|
|
pausedAt => !!pausedAt
|
|
);
|
|
|
|
export const timeTravelSupportedSelector = state => state.getIn(['capabilities', 'historic_reports']);
|