Skip to content

Commit

Permalink
Merge pull request #225 from nmaas-platform/210-the-access-modal-shou…
Browse files Browse the repository at this point in the history
…ld-open-for-all-applications-even-those-that-have-a-single-access-method

removed redundant `Access` button
  • Loading branch information
llopat authored Apr 11, 2024
2 parents 1f034be + 9378cad commit a9f0a7a
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@ <h3><em style="color: #337ab7;">{{ translateState(appInstanceStatus?.state) }}</
</button>
<ul class="dropdown-menu">
<ng-container *ngIf="getStateAsEnum(appInstanceStatus?.state) === AppInstanceState.RUNNING">
<li *ngIf="shouldDisplayButton()">
<a href="{{validateURL(appInstance?.serviceAccessMethods[0].url)}}" role="button">
{{'APP_INSTANCE.GO_TO_APP_BUTTON' | translate}}
</a>
</li>
<li *ngIf="shouldDisplayModal()">
<li>
<a role="button" (click)="this.accessMethodsModal.show()">
{{'APP_INSTANCE.APP_ACCESS_METHODS' | translate}}
</a>
Expand Down

0 comments on commit a9f0a7a

Please sign in to comment.