Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Nov 19, 2024
1 parent a1d7d25 commit 3faf7a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app-store/app-create/app-create.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="main-content">
<div class="container-fluid">

<div class="link-to-docs-wpr">
<div *ngIf="hideHelpLink" class="link-to-docs-wpr">
<div class="row link-to-docs">
<div class="col-md-12">
<span style="margin-left: 15px;">
Expand Down
8 changes: 7 additions & 1 deletion src/app/app-store/app-create/app-create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { LoggerService } from '../../services/logger/logger.service';
import { Location } from '@angular/common';
import { NotifyService } from 'app/core/notify.service';
import { ActivatedRoute, Router } from '@angular/router';
import { BrandService } from 'app/services/brand.service';
@Component({
selector: 'appdashboard-app-create',
templateUrl: './app-create.component.html',
Expand Down Expand Up @@ -37,6 +38,7 @@ export class AppCreateComponent implements OnInit {
diplayErrorRunUrlIsNoValid: boolean = false;
diplayErrorAppInstallationUrlIsNoValid: boolean = false;
currentApp: any;
public hideHelpLink: boolean;
// no more used
// where_items = [
// { id: 'dashboard', name: 'Dashboard' },
Expand All @@ -54,7 +56,11 @@ export class AppCreateComponent implements OnInit {
private notify: NotifyService,
private router: Router,
public route: ActivatedRoute,
) { }
public brandService: BrandService,
) {
const brand = brandService.getBrand();
this.hideHelpLink = brand['DOCS'];
}

ngOnInit() {
this.getBrowserVersion();
Expand Down

0 comments on commit 3faf7a3

Please sign in to comment.