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
e23e6a8b
Commit
e23e6a8b
authored
Mar 18, 2019
by
Hugo Häggmark
Committed by
Leonard Gram
Mar 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed snapshots and permission select not beeing able to click
parent
b71c9803
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
public/app/features/teams/TeamMemberRow.tsx
+1
-1
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
+1
-1
public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap
+12
-4
public/sass/pages/_admin.scss
+6
-0
No files found.
public/app/features/teams/TeamMemberRow.tsx
View file @
e23e6a8b
...
@@ -40,7 +40,7 @@ export class TeamMemberRow extends PureComponent<Props> {
...
@@ -40,7 +40,7 @@ export class TeamMemberRow extends PureComponent<Props> {
return
(
return
(
<
WithFeatureToggle
featureToggle=
{
editorsCanAdmin
}
>
<
WithFeatureToggle
featureToggle=
{
editorsCanAdmin
}
>
<
td
>
<
td
className=
"width-5 team-permissions"
>
<
div
className=
"gf-form"
>
<
div
className=
"gf-form"
>
{
signedInUserIsTeamAdmin
&&
(
{
signedInUserIsTeamAdmin
&&
(
<
Select
<
Select
...
...
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
View file @
e23e6a8b
...
@@ -384,7 +384,7 @@ exports[`Render when feature toggle editorsCanAdmin is turned on and signedin us
...
@@ -384,7 +384,7 @@ exports[`Render when feature toggle editorsCanAdmin is turned on and signedin us
/>
/>
<a
<a
className="btn btn-primary disabled"
className="btn btn-primary disabled"
href="
org/teams/new
"
href="
#
"
>
>
New team
New team
</a>
</a>
...
...
public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap
View file @
e23e6a8b
...
@@ -21,7 +21,9 @@ exports[`Render should render team members when sync enabled 1`] = `
...
@@ -21,7 +21,9 @@ exports[`Render should render team members when sync enabled 1`] = `
<Component
<Component
featureToggle={false}
featureToggle={false}
>
>
<td>
<td
className="width-5 team-permissions"
>
<div
<div
className="gf-form"
className="gf-form"
>
>
...
@@ -72,7 +74,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned off should not ren
...
@@ -72,7 +74,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned off should not ren
<Component
<Component
featureToggle={false}
featureToggle={false}
>
>
<td>
<td
className="width-5 team-permissions"
>
<div
<div
className="gf-form"
className="gf-form"
>
>
...
@@ -146,7 +150,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned on should render p
...
@@ -146,7 +150,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned on should render p
<Component
<Component
featureToggle={true}
featureToggle={true}
>
>
<td>
<td
className="width-5 team-permissions"
>
<div
<div
className="gf-form"
className="gf-form"
>
>
...
@@ -220,7 +226,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned on should render s
...
@@ -220,7 +226,9 @@ exports[`Render when feature toggle editorsCanAdmin is turned on should render s
<Component
<Component
featureToggle={true}
featureToggle={true}
>
>
<td>
<td
className="width-5 team-permissions"
>
<div
<div
className="gf-form"
className="gf-form"
>
>
...
...
public/sass/pages/_admin.scss
View file @
e23e6a8b
...
@@ -19,3 +19,9 @@ td.admin-settings-key {
...
@@ -19,3 +19,9 @@ td.admin-settings-key {
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
}
}
.admin-list-table
{
.team-permissions
{
padding-right
:
120px
;
}
}
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