mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Add info notifications for adding visualizations to the dashboard (#10352)
Backports PR #10310
**Commit 1:**
Add info notifications for adding visualizations to the dashboard
* Original sha: 98237e0af2
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-02-13T15:27:07Z
This commit is contained in:
parent
04a7dae14c
commit
56cff215f6
1 changed files with 2 additions and 0 deletions
|
@ -119,11 +119,13 @@ app.directive('dashboardApp', function (Notifier, courier, AppState, timefilter,
|
|||
$scope.addVis = function (hit) {
|
||||
pendingVisCount++;
|
||||
dashboardState.addNewPanel(hit.id, 'visualization');
|
||||
notify.info(`Visualization successfully added to your dashbard`);
|
||||
};
|
||||
|
||||
$scope.addSearch = function (hit) {
|
||||
pendingVisCount++;
|
||||
dashboardState.addNewPanel(hit.id, 'search');
|
||||
notify.info(`Search successfully added to your dashbard`);
|
||||
};
|
||||
|
||||
$scope.showEditHelpText = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue