Skip to content

Commit

Permalink
update config tooltip links
Browse files Browse the repository at this point in the history
  • Loading branch information
sesposito committed Sep 27, 2023
1 parent 068c8ad commit 34e6a9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion console/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions console/ui/src/app/config/config.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h5><b>Server version:</b> {{nakamaVersion}}</h5>
<div class="col-lg-3">
<b>{{c.name}}</b>
<label class="pl-1" [for]="c.name">
<a target="_blank" href="https://heroiclabs.com/docs/install-configuration/#{{c.value.name}}" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
<a target="_blank" href="https://heroiclabs.com/docs/nakama/getting-started/configuration/#{{c.value.name}}" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
</label>
</div>
<div class="col-lg-3">
Expand All @@ -26,7 +26,7 @@ <h5><b>Server version:</b> {{nakamaVersion}}</h5>
<div *ngIf="i < flatConfig.length-1" class="col-md-3 left-line">
<b>{{flatConfig[i+1].name}}</b>
<label class="pl-1" [for]="flatConfig[i+1].name">
<a target="_blank" href="https://heroiclabs.com/docs/install-configuration/#{{flatConfig[i+1].name}}" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
<a target="_blank" href="https://heroiclabs.com/docs/nakama/getting-started/configuration/#{{flatConfig[i+1].name}}" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
</label>
</div>
<div *ngIf="i < flatConfig.length-1" class="col-md-3">
Expand All @@ -40,7 +40,7 @@ <h5><b>Server version:</b> {{nakamaVersion}}</h5>
<div class="col-lg-3">
<b>runtime.env</b>
<label class="pl-1">
<a target="_blank" href="https://heroiclabs.com/docs/install-configuration/#runtime.env" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
<a target="_blank" href="https://heroiclabs.com/docs/nakama/getting-started/configuration/#runtime.env" class="d-inline"><img src="/static/svg/hint.svg" alt="" width="16" height=""></a>
</label>
</div>
<div class="col-lg-9">
Expand Down
4 changes: 2 additions & 2 deletions console/ui/src/app/config/config.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ export class ConfigComponent implements OnInit, OnDestroy {
public openDeleteDataModal(modal): void {
this.modalService.open(modal, {centered: true}).result.then(() => {
this.deleteData();
this.confirmDeleteForm.controls.delete.setValue( "")
this.confirmDeleteForm.controls.delete.setValue( '');
}, () => {
this.confirmDeleteForm.controls.delete.setValue( "")
this.confirmDeleteForm.controls.delete.setValue( '');
});
}

Expand Down

0 comments on commit 34e6a9e

Please sign in to comment.