Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Sep 4, 2023
1 parent f342dd2 commit 65ff0c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/static/src/app/components/options/TagInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default defineComponent({
onMounted(() => {
if (cleanTags.value.length !== props.tags?.length) {
emit("update", cleanTags.value)
emit("update", cleanTags.value);
}
});
Expand Down Expand Up @@ -91,8 +91,8 @@ export default defineComponent({
}
return undefined;
});
const cleanTags = parsedTags.filter((x) => x !== undefined);
emit("update", cleanTags);
const cleanedNewTags = parsedTags.filter((x) => x !== undefined);
emit("update", cleanedNewTags);
};
const validate = (tag: string) => {
Expand Down
2 changes: 1 addition & 1 deletion app/static/tests/unit/components/options/tagInput.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe("Tag Input", () => {
},
computed: {
cleanTags() {
return [1]
return [1];
}
}
});
Expand Down

0 comments on commit 65ff0c8

Please sign in to comment.