Skip to content

Commit

Permalink
Fixes Lint+Typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
gbdubs committed Jan 16, 2024
1 parent 447c8a3 commit a5de9af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/language/Selector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const emits = defineEmits<Emits>()
const model = computed<LanguageOption | undefined>({
get: () => props.value ? languageToOption(props.value) : undefined,
set: (v: LanguageOption | undefined) => {
emits('update:value', v.language)
emits('update:value', v ? v.language : undefined)
},
})
</script>
Expand Down
1 change: 1 addition & 0 deletions frontend/lib/editor/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface EditorComputedValues <R> {
isInvalid: ComputedRef<boolean>
saveTooltip: ComputedRef<string | undefined>
canSave: ComputedRef<boolean>
resetEditor: () => void
}

export const createEditorValues = <R>(r: R): EditorValuesFor<R> => Object.keys(r as any)
Expand Down

0 comments on commit a5de9af

Please sign in to comment.