Sha256: 33142d70bec7a168687daba2fe9124f2afa6cf3158988b6672c76e8510002fe7

Contents?: true

Size: 1.07 KB

Versions: 95

Compression:

Stored size: 1.07 KB

Contents

export const selectSubscriptionsState = state =>
  state.katello.subscriptions;

export const selectSearchQuery = state =>
  selectSubscriptionsState(state).searchQuery;

export const selectDeleteModalOpened = state =>
  selectSubscriptionsState(state).deleteModalOpened;

export const selectDeleteButtonDisabled = state =>
  selectSubscriptionsState(state).deleteButtonDisabled;

export const selectActivePermissions = state =>
  selectSubscriptionsState(state).activePermissions;

export const selectSubscriptionsTask = state =>
  selectSubscriptionsState(state).task;

export const selectIsTaskPending = (state) => {
  const task = selectSubscriptionsTask(state);
  if (task) {
    return task.pending || task.result === 'pending';
  }
  return false;
};

export const selectManifestActionStarted = state =>
  selectSubscriptionsState(state).manifestActionStarted;

export const selectHasUpstreamConnection = state =>
  selectSubscriptionsState(state).hasUpstreamConnection;

export const selectSimpleContentAccessEligible = state =>
  selectSubscriptionsState(state).simpleContentAccessEligible;

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
katello-4.11.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.11.0 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.11.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.11.0.rc1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.10.0 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.9.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.10.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.10.0.rc1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.4 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.9.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.3 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.9.0 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.7.6 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.9.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.9.0.rc1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.7.5 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.0 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.8.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js