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
9f0d7314
Commit
9f0d7314
authored
Dec 12, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed unit tests
parent
b6a5375a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
public/app/core/components/Picker/__snapshots__/PickerOption.test.tsx.snap
+8
-5
public/app/features/dashboard/dashboard_migration.ts
+2
-1
No files found.
public/app/core/components/Picker/__snapshots__/PickerOption.test.tsx.snap
View file @
9f0d7314
...
...
@@ -3,15 +3,19 @@
exports[`PickerOption renders correctly 1`] = `
<div>
<div
className="
description-picker-option__button btn btn-link class-for-user-picker
"
className="
gf-form-select-box__desc-option
"
>
<img
alt="User picker label"
className="user-picker-option__avatar"
className="gf-form-select-box__desc-option__img"
src="url/to/avatar"
/>
<div
className="gf-form-select-box__desc-option__body"
>
<div>
Model title
</div>
</div>
</div>
</div>
`;
\ No newline at end of file
public/app/features/dashboard/dashboard_migration.ts
View file @
9f0d7314
...
...
@@ -141,9 +141,10 @@ export class DashboardMigrator {
// ensure query refIds
panelUpgrades
.
push
(
panel
=>
{
console
.
log
(
'asdasd'
,
panel
);
_
.
each
(
panel
.
targets
,
target
=>
{
if
(
!
target
.
refId
)
{
target
.
refId
=
panel
.
getNextQueryLetter
();
target
.
refId
=
panel
.
getNextQueryLetter
&&
panel
.
getNextQueryLetter
();
}
});
});
...
...
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