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
451c9580
Unverified
Commit
451c9580
authored
Mar 13, 2020
by
Alex Khomenko
Committed by
GitHub
Mar 13, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Core: Pass the rest of to props to Select (#22776)
* Pass the rest of to props to Select * Remove log
parent
ebc9549c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
public/app/core/components/Select/DashboardPicker.tsx
+8
-1
No files found.
public/app/core/components/Select/DashboardPicker.tsx
View file @
451c9580
...
...
@@ -24,7 +24,13 @@ const getDashboards = (query = '') => {
});
};
export
const
DashboardPicker
:
FC
<
Props
>
=
({
onSelected
,
currentDashboard
,
size
=
'md'
,
isClearable
=
false
})
=>
{
export
const
DashboardPicker
:
FC
<
Props
>
=
({
onSelected
,
currentDashboard
,
size
=
'md'
,
isClearable
=
false
,
...
rest
})
=>
{
const
debouncedSearch
=
debounce
(
getDashboards
,
300
,
{
leading
:
true
,
trailing
:
true
,
...
...
@@ -43,6 +49,7 @@ export const DashboardPicker: FC<Props> = ({ onSelected, currentDashboard, size
placeholder=
"Select dashboard"
noOptionsMessage=
"No dashboards found"
value=
{
currentDashboard
}
{
...
rest
}
/>
);
};
Kornkitt Poolsup
@Doratong24
mentioned in commit
1d63f57c
Mar 05, 2021
mentioned in commit
1d63f57c
mentioned in commit 1d63f57cafd9e25458994efa0ca718cbf3945b19
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