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
7e3b43ea
Unverified
Commit
7e3b43ea
authored
Apr 04, 2020
by
Peter Holmberg
Committed by
GitHub
Apr 04, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dashboard: Save json should preserve folderId (#23314)
parent
44604cfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
public/app/features/dashboard/services/DashboardSrv.ts
+4
-1
No files found.
public/app/features/dashboard/services/DashboardSrv.ts
View file @
7e3b43ea
...
@@ -79,7 +79,10 @@ export class DashboardSrv {
...
@@ -79,7 +79,10 @@ export class DashboardSrv {
};
};
saveJSONDashboard
(
json
:
string
)
{
saveJSONDashboard
(
json
:
string
)
{
return
getBackendSrv
().
saveDashboard
(
JSON
.
parse
(
json
),
{});
const
parsedJson
=
JSON
.
parse
(
json
);
return
getBackendSrv
().
saveDashboard
(
parsedJson
,
{
folderId
:
this
.
dashboard
.
meta
.
folderId
||
parsedJson
.
folderId
,
});
}
}
starDashboard
(
dashboardId
:
string
,
isStarred
:
any
)
{
starDashboard
(
dashboardId
:
string
,
isStarred
:
any
)
{
...
...
Kornkitt Poolsup
@Doratong24
mentioned in commit
a04ef6ce
Mar 05, 2021
mentioned in commit
a04ef6ce
mentioned in commit a04ef6cefc2f24f901f525263f65cf395e6cff28
Toggle commit list
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