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
35a24032
Unverified
Commit
35a24032
authored
Sep 10, 2018
by
Marcus Efraimsson
Committed by
GitHub
Sep 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13208 from grafana/fix-dashboard-permissions
fix: Dashboard permissions now shows correctly
parents
6c90a536
9cfe2a7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
public/app/features/dashboard/folder_picker/folder_picker.ts
+2
-1
No files found.
public/app/features/dashboard/folder_picker/folder_picker.ts
View file @
35a24032
...
@@ -131,6 +131,7 @@ export class FolderPickerCtrl {
...
@@ -131,6 +131,7 @@ export class FolderPickerCtrl {
private
loadInitialValue
()
{
private
loadInitialValue
()
{
const
resetFolder
=
{
text
:
this
.
initialTitle
,
value
:
null
};
const
resetFolder
=
{
text
:
this
.
initialTitle
,
value
:
null
};
const
rootFolder
=
{
text
:
this
.
rootName
,
value
:
0
};
const
rootFolder
=
{
text
:
this
.
rootName
,
value
:
0
};
this
.
getOptions
(
''
).
then
(
result
=>
{
this
.
getOptions
(
''
).
then
(
result
=>
{
let
folder
;
let
folder
;
if
(
this
.
initialFolderId
)
{
if
(
this
.
initialFolderId
)
{
...
@@ -150,7 +151,7 @@ export class FolderPickerCtrl {
...
@@ -150,7 +151,7 @@ export class FolderPickerCtrl {
this
.
folder
=
folder
;
this
.
folder
=
folder
;
// if this is not the same as our initial value notify parent
// if this is not the same as our initial value notify parent
if
(
this
.
folder
.
id
!==
this
.
initialFolderId
)
{
if
(
this
.
folder
.
value
!==
this
.
initialFolderId
)
{
this
.
onChange
({
$folder
:
{
id
:
this
.
folder
.
value
,
title
:
this
.
folder
.
text
}
});
this
.
onChange
({
$folder
:
{
id
:
this
.
folder
.
value
,
title
:
this
.
folder
.
text
}
});
}
}
});
});
...
...
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