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
7bbfb57d
Unverified
Commit
7bbfb57d
authored
Jul 14, 2020
by
Zoltán Bedi
Committed by
GitHub
Jul 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PluginsListPage: More plugins button should open in new window (#26305)
Fixes #24622
parent
077aec46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/features/plugins/PluginListPage.tsx
+1
-1
public/app/features/plugins/__snapshots__/PluginListPage.test.tsx.snap
+2
-2
No files found.
public/app/features/plugins/PluginListPage.tsx
View file @
7bbfb57d
...
...
@@ -35,7 +35,6 @@ export class PluginListPage extends PureComponent<Props> {
const
linkButton
=
{
href
:
'https://grafana.com/plugins?utm_source=grafana_plugin_list'
,
title
:
'Find more plugins on Grafana.com'
,
target
:
'_blank'
,
};
return
(
...
...
@@ -46,6 +45,7 @@ export class PluginListPage extends PureComponent<Props> {
searchQuery=
{
searchQuery
}
setSearchQuery=
{
query
=>
setPluginsSearchQuery
(
query
)
}
linkButton=
{
linkButton
}
target=
"_blank"
/>
{
hasFetched
&&
plugins
&&
plugins
&&
<
PluginList
plugins=
{
plugins
}
/>
}
</>
...
...
public/app/features/plugins/__snapshots__/PluginListPage.test.tsx.snap
View file @
7bbfb57d
...
...
@@ -20,12 +20,12 @@ exports[`Render should render component 1`] = `
linkButton={
Object {
"href": "https://grafana.com/plugins?utm_source=grafana_plugin_list",
"target": "_blank",
"title": "Find more plugins on Grafana.com",
}
}
searchQuery=""
setSearchQuery={[Function]}
target="_blank"
/>
</PageContents>
</Page>
...
...
@@ -51,12 +51,12 @@ exports[`Render should render list 1`] = `
linkButton={
Object {
"href": "https://grafana.com/plugins?utm_source=grafana_plugin_list",
"target": "_blank",
"title": "Find more plugins on Grafana.com",
}
}
searchQuery=""
setSearchQuery={[Function]}
target="_blank"
/>
<PluginList
plugins={Array []}
...
...
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