Skip to content

Commit

Permalink
opposite logic for view-hide workflows fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffibm committed Jul 10, 2023
1 parent aa6041f commit b17ac1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<form class="form-horizontal">
<div ng-show="!vm.treeOptions.show">
<div pf-form-group pf-label="Automation Type" class="entry_point_selector_types">
<select ng-show="!vm.treeOptions.emsWorkflowsEnabled" class="form-control" miq-select ng-model="vm.modalData.automation_type" ng-change="vm.treeOptions.onAutomationTypeChange()">
<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()">
<option value="{{vm.treeOptions.automationTypes.automate}}" translate>Embedded Automate</option>
<option value="{{vm.treeOptions.automationTypes.workflow}}" translate>Embedded Workflows</option>
</select>
Expand All @@ -125,7 +125,7 @@
<button class="btn btn-default" ng-click="vm.treeOptions.toggle();"><i class="ff ff-load-balancer"></i></button>
</span>
</div>
<div ng-show="!vm.treeOptions.emsWorkflowsEnabled" class="input-group entry_point" ng-if="vm.modalData.automation_type == vm.treeOptions.automationTypes.workflow">
<div ng-show="vm.treeOptions.emsWorkflowsEnabled" class="input-group" ng-if="vm.modalData.automation_type == vm.treeOptions.automationTypes.workflow">
<input type="text" placeholder="Embedded Workflow" class="form-control" ng-value="vm.modalData.resource_action.workflow_name" disabled>
<span class="input-group-btn">
<button class="btn btn-default" ng-click="vm.treeOptions.toggleWorkflows();"><i class="ff ff-load-balancer"></i></button>
Expand Down
4 changes: 4 additions & 0 deletions src/styles/dialog-editor-boxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@
}

.entry_point_selector_types {

.automation_type_selector {
margin-bottom: 20px !important;
}
.entry_point {
margin-top: 20px;
}
Expand Down

0 comments on commit b17ac1e

Please sign in to comment.