webpack/ForemanTasks/Components/TaskDetails/TaskDetailsSelectors.js in foreman-tasks-1.0.1 vs webpack/ForemanTasks/Components/TaskDetails/TaskDetailsSelectors.js in foreman-tasks-1.1.0

- old
+ new

@@ -28,11 +28,11 @@ return humanized ? humanized.errors : []; }; export const selectProgress = state => selectTaskDetails(state).progress - ? selectTaskDetails(state).progress.toFixed(4) * 100 + ? parseFloat((selectTaskDetails(state).progress * 100).toFixed(2)) : 0; export const selectUsername = state => selectTaskDetails(state).username || null; @@ -81,5 +81,8 @@ export const selectShowForceUnlockModal = state => selectTaskDetails(state).showForceUnlockModal || false; export const selectExternalId = state => selectTaskDetails(state).external_id || null; + +export const selectDynflowEnableConsole = state => + selectTaskDetails(state).dynflow_enable_console || false;