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-3.18.5 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.2.0.1.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.2.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.3 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.2.0.rc1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.0.2.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.2.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.0.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-3.18.4 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.0 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.0.1.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-3.18.3.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.0.rc2.2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.0.rc2.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.0.1.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-3.18.3 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.1.0.rc2 webpack/scenes/Subscriptions/SubscriptionsSelectors.js
katello-4.0.1 webpack/scenes/Subscriptions/SubscriptionsSelectors.js