-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(structures): DIsplay warning notice if identifier with same type…
… and value already exists for this structure
- Loading branch information
Showing
4 changed files
with
53 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
export const deleteError = { content: "Une erreur s'est produite. L'élément n'a pas pu être supprimé", autoDismissAfter: 6000, type: 'error' }; | ||
export const saveError = { content: "Une erreur s'est produite lors de l'envoi du formulaire.", autoDismissAfter: 6000, type: 'error' }; | ||
export const saveSuccess = { content: 'Vos modifications ont été correctement enregistrées', autoDismissAfter: 6000, type: 'success' }; | ||
export const deleteSuccess = { content: "L'élément a été supprimé avec succès.", autoDismissAfter: 6000, type: 'success' }; | ||
export const deleteError = { | ||
content: "Une erreur s'est produite. L'élément n'a pas pu être supprimé", | ||
type: 'error', | ||
}; | ||
export const deleteSuccess = { | ||
content: "L'élément a été supprimé avec succès.", | ||
type: 'success', | ||
}; | ||
export const saveError = { | ||
content: "Une erreur s'est produite lors de l'envoi du formulaire.", | ||
type: 'error', | ||
}; | ||
export const saveSuccess = { | ||
content: 'Vos modifications ont été correctement enregistrées', | ||
type: 'success', | ||
}; | ||
export const saveDuplicate = { | ||
content: "Vos modifications n'ont pas été prises en compte car un élément identique existait déjà.", | ||
type: 'warning', | ||
}; |