nebular icon indicating copy to clipboard operation
nebular copied to clipboard

NbLayoutHeaderComponent set fixed=false also if subheader=false

Open matzrm opened this issue 3 years ago • 0 comments

Issue type

I'm submitting a ... (check one with "x")

  • [ X ] bug report
  • [ ] feature request

Issue description

Fixed is setted to false also if subheader=false

Current behavior:

set nb-layout-header in this way: <nb-layout-header [fixed]="true" [subheader]="false">

Expected behavior:

NbLayoutHeaderComponent have to check subheader value before set to false fixed. Steps to reproduce:

Checkout ngx-admin and then add to @theme/layouts/components/one-column.layout.html <nb-layout-header [fixed]="true" [subheader]="false"> Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

matzrm avatar May 11 '22 09:05 matzrm