Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
535bab1b
Commit
535bab1b
authored
Aug 13, 2018
by
Patrick O'Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
now hides team header when no teams + fix for list hidden when only one team
parent
a94406ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/org/partials/profile.html
+1
-1
public/app/features/org/profile_ctrl.ts
+1
-1
No files found.
public/app/features/org/partials/profile.html
View file @
535bab1b
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<prefs-control
mode=
"user"
></prefs-control>
<prefs-control
mode=
"user"
></prefs-control>
<h3
class=
"page-heading"
>
Teams
</h3>
<h3
class=
"page-heading"
ng-show=
"ctrl.showTeamsList"
>
Teams
</h3>
<div
class=
"gf-form-group"
ng-show=
"ctrl.showTeamsList"
>
<div
class=
"gf-form-group"
ng-show=
"ctrl.showTeamsList"
>
<table
class=
"filter-table form-inline"
>
<table
class=
"filter-table form-inline"
>
<thead>
<thead>
...
...
public/app/features/org/profile_ctrl.ts
View file @
535bab1b
...
@@ -30,7 +30,7 @@ export class ProfileCtrl {
...
@@ -30,7 +30,7 @@ export class ProfileCtrl {
getUserTeams
()
{
getUserTeams
()
{
this
.
backendSrv
.
get
(
'/api/user/teams'
).
then
(
teams
=>
{
this
.
backendSrv
.
get
(
'/api/user/teams'
).
then
(
teams
=>
{
this
.
teams
=
teams
;
this
.
teams
=
teams
;
this
.
showTeamsList
=
this
.
teams
.
length
>
1
;
this
.
showTeamsList
=
this
.
teams
.
length
>
0
;
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment