Skip to content

Commit

Permalink
mgr/dashboard: open api swagger in new tab
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/62350
Signed-off-by: Pedro Gonzalez Gomez <[email protected]>
  • Loading branch information
Pegonzal committed Mar 20, 2024
1 parent 639d182 commit a1a093a
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
</a>
<div ngbDropdownMenu>
<a ngbDropdownItem
class="text-capitalize"
[ngClass]="{'disabled': !docsUrl}"
href="{{ docsUrl }}"
target="_blank"
i18n>documentation</a>
<button ngbDropdownItem
routerLink="/api-docs"
target="_blank"
i18n>API</button>
i18n>Documentation
<i class="fa fa-external-link"></i>
</a>
<a ngbDropdownItem
routerLink="/api-docs"
target="_blank"
i18n>API
<i class="fa fa-external-link"></i>
</a>
<button ngbDropdownItem
(click)="openAboutModal()"
i18n>About</button>
Expand Down

0 comments on commit a1a093a

Please sign in to comment.