Skip to content

Commit 72b506a

Browse files
committed
Show description button in view-only workflows
1 parent 90dcefc commit 72b506a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/plugins/workflows/components/workflow-viewer/right-menu/activity-settings/activity-settings.component.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
</ul>
1717

1818
@if (isEditable()) {
19-
2019
<div class="ms-auto" [ngClass]="{'ms-auto': activity().def.nonEmptyGroupCount > 1}">
2120
@if (hasSettingsChanged()) {
2221
<span class="text-muted">Discard</span>
@@ -37,6 +36,13 @@
3736
</button>
3837
</div>
3938

39+
} @else {
40+
<div class="ms-auto me-3">
41+
<span class="fa fa-lg text-secondary show-description-button" title="Toggle Setting Descriptions"
42+
[ngClass]="showDescription ? 'fa-question-circle' : 'fa-question-circle-o'"
43+
(click)="setShowDescription(!showDescription)"
44+
></span>
45+
</div>
4046
}
4147

4248
</div>

0 commit comments

Comments
 (0)