From daf32152418133fc2cf854ee9e0384fe4756dabf Mon Sep 17 00:00:00 2001 From: Haokun-Chen Date: Wed, 20 Jun 2018 14:30:35 -0400 Subject: [PATCH] enable expand/collapse all tasks button in job result page --- awx/ui/client/features/output/index.controller.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/awx/ui/client/features/output/index.controller.js b/awx/ui/client/features/output/index.controller.js index 4f88e866bb..3f99f9d77c 100644 --- a/awx/ui/client/features/output/index.controller.js +++ b/awx/ui/client/features/output/index.controller.js @@ -142,10 +142,8 @@ function toggleMenuExpand () { if (scroll.isPaused()) return; const recordList = Object.keys(render.record).map(key => render.record[key]); - const minLevel = Math.min(...recordList.map(({ level }) => level)); const toggled = recordList - .filter(({ level }) => level === minLevel) .map(({ uuid }) => getToggleElements(uuid)) .filter(({ icon }) => icon.length > 0) .map(({ icon, lines }) => setExpanded(icon, lines, !vm.isMenuExpanded));