Skip to content

Commit

Permalink
update sentence text after modifying form in the conll dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Feb 7, 2025
1 parent e54f132 commit 67b6cf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/sentence/ConlluDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ import { mapState } from 'pinia';
import { useProjectStore } from 'src/pinia/modules/project';
import { useUserStore } from 'src/pinia/modules/user';
import { sentence_bus_t, table_t, reactive_sentences_obj_t } from 'src/types/main_types';
import { replaceNewMetaText } from 'src/components/sentence/sentenceUtils';
import { notifyMessage } from 'src/utils/notify';
import { PropType, defineComponent } from 'vue';
Expand Down Expand Up @@ -345,6 +346,8 @@ export default defineComponent({
},
userId: this.userId,
});
const data = { userId: this.userId, sentenceBus: this.sentenceBus };
replaceNewMetaText(data);
notifyMessage({
message: "Conllu changed locally, don't forget to save !",
type: 'warning',
Expand Down

0 comments on commit 67b6cf1

Please sign in to comment.