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
07cd1826
Commit
07cd1826
authored
Nov 27, 2017
by
Daniel Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
datasource: fix merge conflict - restore dashboards tab
parent
7f3a3b9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
public/app/features/plugins/ds_edit_ctrl.ts
+1
-1
public/app/features/plugins/partials/ds_edit.html
+5
-2
No files found.
public/app/features/plugins/ds_edit_ctrl.ts
View file @
07cd1826
...
...
@@ -114,7 +114,7 @@ export class DataSourceEditCtrl {
this
.
hasDashboards
=
false
;
return
this
.
backendSrv
.
get
(
'/api/plugins/'
+
this
.
current
.
type
+
'/settings'
).
then
(
pluginInfo
=>
{
this
.
datasourceMeta
=
pluginInfo
;
this
.
hasDashboards
=
_
.
find
(
pluginInfo
.
includes
,
{
type
:
'dashboard'
});
this
.
hasDashboards
=
_
.
find
(
pluginInfo
.
includes
,
{
type
:
'dashboard'
})
!==
undefined
;
});
}
...
...
public/app/features/plugins/partials/ds_edit.html
View file @
07cd1826
...
...
@@ -83,6 +83,9 @@
<br
/>
</form>
</div>
</div>
</div>
<div
ng-if=
"ctrl.tabIndex === 1"
class=
"tab-content"
>
<dashboard-import-list
plugin=
"ctrl.datasourceMeta"
datasource=
"ctrl.current"
></dashboard-import-list>
</div>
</div>
</div>
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