You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/09/14 19:48:47 UTC

[incubator-streampipes] branch dev updated: [hotfix] Add option to hide navbar in basic view

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new f526ad2a3 [hotfix] Add option to hide navbar in basic view
f526ad2a3 is described below

commit f526ad2a3b6c19f5fbc12bc391f0ecd9514b01d7
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Sep 14 21:48:36 2022 +0200

    [hotfix] Add option to hide navbar in basic view
---
 .../shared-ui/src/lib/components/basic-view/basic-view.component.html  | 2 +-
 .../shared-ui/src/lib/components/basic-view/basic-view.component.ts    | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.html b/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.html
index 0b6f54545..a8bf70437 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.html
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.html
@@ -17,7 +17,7 @@
   -->
 
 <div fxLayout="column" class="page-container">
-    <div fxLayout="row" class="p-0 sp-bg-lightgray page-container-nav">
+    <div fxLayout="row" class="p-0 sp-bg-lightgray page-container-nav" *ngIf="!hideNavbar">
         <div fxLayout="fill" fxFlex="100" class="pl-5 pr-5">
             <div fxLayout="row"
                  fxLayoutAlign="start center"
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.ts b/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.ts
index f77767864..12af9e3f6 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.ts
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-view/basic-view.component.ts
@@ -35,6 +35,9 @@ export class SpBasicViewComponent {
   @Input()
   backLinkTarget: string[];
 
+  @Input()
+  hideNavbar = false;
+
   constructor(private router: Router) {
 
   }