Skip to content

Commit

Permalink
Add info notifications for adding visualizations to the dashboard (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon authored Feb 14, 2017
1 parent 2796e77 commit 31db424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core_plugins/kibana/public/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,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 = () => {
Expand Down

0 comments on commit 31db424

Please sign in to comment.