Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
806
Merge Requests
54
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
e00eb814
Commit
e00eb814
authored
1 hour ago
by
Olivia Madrid
Browse files
Options
Download
(refactor): don't show shadowbox header on analytics table
parent
524b8cb2
generic-layout-2194
1 merge request
!634
Analytics components refactor and summary tab
Pipeline
#93923066
failed with stages
in 13 minutes and 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
src/app/common/components/shadowbox-layout/shadowbox-layout.component.html
View file @
e00eb814
<m-shadowboxHeader
*ngIf=
"hasHeader"
[isScrollable]=
"scrollableHeader"
[ngClass]=
"{ isScrollable: scrollableHeader }"
><ng-content
...
...
This diff is collapsed.
src/app/common/components/shadowbox-layout/shadowbox-layout.component.ts
View file @
e00eb814
...
...
@@ -6,6 +6,7 @@ import { Component, OnInit, Input } from '@angular/core';
})
export
class
ShadowboxLayoutComponent
implements
OnInit
{
@
Input
()
scrollableHeader
:
boolean
=
true
;
@
Input
()
hasHeader
:
boolean
=
true
;
constructor
()
{}
ngOnInit
()
{}
...
...
This diff is collapsed.
src/app/modules/analytics/v2/layouts/layout-chart/layout-chart.component.html
View file @
e00eb814
<div
class=
"m-analytics__spinnerContainer"
*ngIf=
"loading$ | async"
>
<div
class=
"mdl-spinner mdl-js-spinner is-active"
[
mdl
]
></div>
</div>
<m-shadowboxLayout
*ngIf=
"selectedMetric && selectedMetric.visualisation"
>
<m-shadowboxLayout
*ngIf=
"selectedMetric && selectedMetric.visualisation"
[hasHeader]=
"selectedMetric.visualisation.type === 'chart'"
>
<m-analytics
__metrics
class=
"m-shadowboxLayout__header"
*ngIf=
"selectedMetric.visualisation.type === 'chart'"
...
...
This diff is collapsed.
Please
register
or
sign in
to comment