Skip to content

Commit

Permalink
remove disturbing success notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Jul 22, 2024
1 parent 67ca2b9 commit 9de4567
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/grewSearch/GrewHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export default defineComponent({
},
copyRequest(record: grewHistoryRecord_t) {
this.$emit('copied-request', record);
notifyMessage({ message: 'Request copied' })
},
triggerConfirm(method: CallableFunction) {
this.confirmDelete = true;
Expand Down
1 change: 0 additions & 1 deletion src/components/sentence/TagsMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export default defineComponent({
this.tags = [];
const exportedConll = this.reactiveSentencesObj[this.openTabUser].exportConll();
this.sentence.conlls[this.openTabUser] = exportedConll;
notifyMessage({ message: 'Tags Saved' });
})
.catch((error) => {
notifyError({ error: error });
Expand Down
1 change: 0 additions & 1 deletion src/pinia/modules/tags/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const useTagsStore = defineStore('tags', {
api
.removeTag(useProjectStore().name, sampleName, data)
.then((response) => {
notifyMessage({ message: 'The tag is removed' });
sentenceBus.emit('tree-update:tags', {
sentenceJson: {
metaJson: response.data,
Expand Down
1 change: 0 additions & 1 deletion src/pinia/modules/trees/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export const useTreesStore = defineStore('trees', {
this.sortedSentIds = response.data.sent_ids;
this.applyFilterTrees();
this.loading = false;
notifyMessage({ message: `Loaded ${Object.keys(this.trees).length} trees` });
resolve(JSON.parse(JSON.stringify(Object.values(this.trees))));
})
.catch((error) => {
Expand Down

0 comments on commit 9de4567

Please sign in to comment.