Skip to content

Commit

Permalink
chore: nit fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc committed Aug 4, 2022
1 parent e6ae523 commit 563d29d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/saved_objects_management/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Save objects management
# Saved objects management

Provides a UI (via the `management` plugin) to find and manage all saved objects in one place (you can see the primary page by navigating to `/app/management/opensearch-dashboards/objects`). Not to be confused with the `savedObjects` plugin, which provides all the core capabilities of saved objects.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const useDropbox = (props: UseDropboxProps): DropboxProps => {
// Event handlers for each dropbox action type
const onAddField = useCallback(() => {
if (!aggConfigs || !indexPattern) {
throw new Error('Cannot create new field, missing parameters');
throw new Error('Cannot create new field, missing aggConfigs or indexPattern');
}

const aggConfig = aggConfigs.createAggConfig(
Expand Down

0 comments on commit 563d29d

Please sign in to comment.