Skip to content

Commit

Permalink
fix labeleditor update #147
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn authored and jacobtylerwalls committed Jan 17, 2025
1 parent 2235610 commit 47a2011
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import {
NEW,
selectedLanguageKey,
STATUSES_CONTROLLED_LIST,
UPDATED,
} from "@/arches_lingo/constants.ts";
import type {
Expand All @@ -44,7 +43,7 @@ import type {
} from "@/arches_lingo/types.ts";
import type { Language } from "@/arches_vue_utils/types.ts";
const emit = defineEmits([UPDATED]);
const emit = defineEmits(["update"]);
const toast = useToast();
const route = useRoute();
const router = useRouter();
Expand Down Expand Up @@ -119,7 +118,7 @@ async function save() {
formValue.value,
);
}
emit(UPDATED);
emit("update");
} catch (error) {
toast.add({
severity: ERROR,
Expand Down

0 comments on commit 47a2011

Please sign in to comment.