Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit ad45ad3

Browse files
committed
add css class to operations having authorization
1 parent 4c3ed05 commit ad45ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/endpoint.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ <h4>
2020
</ul>
2121
</div>
2222
<ul class="list-unstyled operations" ng-class="api.css" ng-if="api.open">
23-
<li ng-repeat="op in api.operations track by $index" class="operation" ng-class="[op.httpMethod,op.css]" ng-include="'templates/operation.html'"></li>
23+
<li ng-repeat="op in api.operations track by $index" class="operation" ng-class="[op.httpMethod,op.css,{'has-authorization':op.security.length}]" ng-include="'templates/operation.html'"></li>
2424
</ul>

0 commit comments

Comments
 (0)