1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-28 01:29:41 +02:00

feature/new-feature-cleanup (#389)

* add json editor to theme editor

* add toolbars tools to recipe sections

* fix recipe yield

* add updated_date to recipe schema

* update time cards

* fix mobile buttons

* fix asset URL

* fix PG errors CRUD

* remove -d from docker-pro

* fix theme tests

* remvoe old typing

* abstract count function

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-05-05 14:08:13 -08:00 committed by GitHub
parent c1370afb16
commit 1b0de02b71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 263 additions and 132 deletions

View file

@ -1,4 +1,5 @@
import { vueApp } from "../main";
import { recipe } from "@/utils/recipe";
// TODO: Migrate to Mixins
const notifyHelpers = {
@ -9,7 +10,8 @@ const notifyHelpers = {
info: "notify-info-color",
};
export default {
export const utils = {
recipe: recipe,
getImageURL(image) {
return `/api/recipes/${image}/image?image_type=small`;
},