mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	fix: eslint errors and failing tests (#2078)
* fix eslint errors * fix failing tests
This commit is contained in:
		| @@ -13,7 +13,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script lang="ts"> | ||||
| import { defineComponent, toRef } from "@nuxtjs/composition-api"; | ||||
| import { defineComponent, toRef, useContext } from "@nuxtjs/composition-api"; | ||||
| import { usePasswordStrength } from "~/composables/use-passwords"; | ||||
|  | ||||
| export default defineComponent({ | ||||
| @@ -25,8 +25,9 @@ export default defineComponent({ | ||||
|   }, | ||||
|   setup(props) { | ||||
|     const asRef = toRef(props, "value"); | ||||
|     const { i18n } = useContext(); | ||||
|  | ||||
|     const pwStrength = usePasswordStrength(asRef); | ||||
|     const pwStrength = usePasswordStrength(asRef, i18n); | ||||
|  | ||||
|     return { | ||||
|       pwStrength, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user