Skip to content

Commit b17ac1e

Browse files
committed
opposite logic for view-hide workflows fixed
1 parent aa6041f commit b17ac1e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/dialog-editor/components/modal-field-template/drop-down-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<form class="form-horizontal">
116116
<div ng-show="!vm.treeOptions.show">
117117
<div pf-form-group pf-label="Automation Type" class="entry_point_selector_types">
118-
<select ng-show="!vm.treeOptions.emsWorkflowsEnabled" class="form-control" miq-select ng-model="vm.modalData.automation_type" ng-change="vm.treeOptions.onAutomationTypeChange()">
118+
<select ng-show="vm.treeOptions.emsWorkflowsEnabled" class="form-control automation_type_selector" miq-select ng-model="vm.modalData.automation_type" ng-change="vm.treeOptions.onAutomationTypeChange()">
119119
<option value="{{vm.treeOptions.automationTypes.automate}}" translate>Embedded Automate</option>
120120
<option value="{{vm.treeOptions.automationTypes.workflow}}" translate>Embedded Workflows</option>
121121
</select>
@@ -125,7 +125,7 @@
125125
<button class="btn btn-default" ng-click="vm.treeOptions.toggle();"><i class="ff ff-load-balancer"></i></button>
126126
</span>
127127
</div>
128-
<div ng-show="!vm.treeOptions.emsWorkflowsEnabled" class="input-group entry_point" ng-if="vm.modalData.automation_type == vm.treeOptions.automationTypes.workflow">
128+
<div ng-show="vm.treeOptions.emsWorkflowsEnabled" class="input-group" ng-if="vm.modalData.automation_type == vm.treeOptions.automationTypes.workflow">
129129
<input type="text" placeholder="Embedded Workflow" class="form-control" ng-value="vm.modalData.resource_action.workflow_name" disabled>
130130
<span class="input-group-btn">
131131
<button class="btn btn-default" ng-click="vm.treeOptions.toggleWorkflows();"><i class="ff ff-load-balancer"></i></button>

src/styles/dialog-editor-boxes.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@
139139
}
140140

141141
.entry_point_selector_types {
142+
143+
.automation_type_selector {
144+
margin-bottom: 20px !important;
145+
}
142146
.entry_point {
143147
margin-top: 20px;
144148
}

0 commit comments

Comments
 (0)