Skip to content

Commit

Permalink
update message
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Feb 23, 2017
1 parent ee42002 commit c90c8ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/public/courier/saved_object/saved_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ export default function SavedObjectFactory(esAdmin, kbnIndex, Promise, Private,
return getTitleAlreadyExists(this, esAdmin)
.then((isDuplicate) => {
if (!isDuplicate) return true;
const confirmMessage = `A ${type} with the title '${this.title}' already exists. Would you like to save anyway?`;
const confirmMessage =
`A ${type} with the title '${this.title}' already exists. Would you like to save a duplicate with the same name?`;

return confirmModalPromise(confirmMessage, { confirmButtonText: `Save ${type}` })
.catch(() => Promise.reject(new Error(SAVE_DUPLICATE_REJECTED)));
Expand Down

0 comments on commit c90c8ae

Please sign in to comment.