We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc438e5 commit 497f03aCopy full SHA for 497f03a
components/Panel/Item/FilterPanel.vue
@@ -350,7 +350,6 @@
350
* Validating part for the favorite input
351
*/
352
async validateBeforeSubmit() {
353
- if (this.confirmedTags.length !== 0) {
354
const tags_id: number[] = this.confirmedTags.map(tag => tag.tag_id);
355
const title: string | undefined = this.$accessor.exercises.search_criterion.title;
356
@@ -369,11 +368,8 @@
369
368
this.createFavoriteInput = false;
370
this.$displaySuccess("Votre favori a bien été créé.");
371
} catch (e) {
372
- this.$displayError("Vos favoris n'ont pas pu être chargé");
+ this.$displayError('Un problème est survenu lors de la création du favori.');
373
}
374
- } else {
375
- this.$displayWarning('Un problème est survenu lors de la création du favori.')
376
- }
377
378
379
/**
0 commit comments