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
9cfe2a7f
Commit
9cfe2a7f
authored
Sep 10, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Dashboard permissions now shows correctly, fixes #13201
parent
267b96cb
Hide 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 @
9cfe2a7f
...
...
@@ -131,6 +131,7 @@ export class FolderPickerCtrl {
private
loadInitialValue
()
{
const
resetFolder
=
{
text
:
this
.
initialTitle
,
value
:
null
};
const
rootFolder
=
{
text
:
this
.
rootName
,
value
:
0
};
this
.
getOptions
(
''
).
then
(
result
=>
{
let
folder
;
if
(
this
.
initialFolderId
)
{
...
...
@@ -150,7 +151,7 @@ export class FolderPickerCtrl {
this
.
folder
=
folder
;
// 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
}
});
}
});
...
...
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