1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-25 08:09:41 +02:00

Feature/UI updates (#990)

* titleCase utility

* update rules ui

* order by date_added

* fix error on page refresh

* fix health checks

* fix cookbook return values
This commit is contained in:
Hayden 2022-02-22 15:32:13 -09:00 committed by GitHub
parent 177a430d8c
commit 2211174636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 43 additions and 20 deletions

View file

@ -217,7 +217,7 @@
<!-- Debug Extras -->
<section v-if="debugData && tab === 'debug'">
<v-checkbox v-model="debugTreeView" label="Tree View"></v-checkbox>
<VJsoneditor
<LazyRecipeJsonEditor
v-model="debugData"
class="primary"
:options="{
@ -322,11 +322,9 @@ import {
useRouter,
useContext,
computed,
useRoute
useRoute,
} from "@nuxtjs/composition-api";
import { AxiosResponse } from "axios";
// @ts-ignore No Types for v-jsoneditor
import VJsoneditor from "v-jsoneditor";
import { useUserApi } from "~/composables/api";
import RecipeCategoryTagSelector from "~/components/Domain/Recipe/RecipeCategoryTagSelector.vue";
import { validators } from "~/composables/use-validators";
@ -336,7 +334,7 @@ import { VForm } from "~/types/vuetify";
import { MenuItem } from "~/components/global/BaseOverflowButton.vue";
export default defineComponent({
components: { VJsoneditor, RecipeCategoryTagSelector },
components: { RecipeCategoryTagSelector },
setup() {
const state = reactive({
error: false,
@ -397,7 +395,7 @@ export default defineComponent({
const recipeUrl = computed({
set(recipe_import_url: string) {
recipe_import_url = recipe_import_url.trim()
recipe_import_url = recipe_import_url.trim();
router.replace({ query: { ...route.value.query, recipe_import_url } });
},
get() {
@ -516,7 +514,6 @@ export default defineComponent({
});
</script>
<style>
.force-white > a {
color: white !important;