Sha256: 1978191f96ca0c795b07731fc1bfe1e52b692967fd66deae307b5b4513d0ee1f
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
import { selectAPIResponse } from 'foremanReact/redux/API/APISelectors'; import { JOB_INVOCATION_KEY, GET_TASK } from './JobInvocationConstants'; export const selectItems = state => selectAPIResponse(state, JOB_INVOCATION_KEY); export const selectTask = state => selectAPIResponse(state, GET_TASK); export const selectTaskCancelable = state => selectTask(state).available_actions?.cancellable || false;
Version data entries
3 entries across 3 versions & 1 rubygems