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

feat: add group statistics on profile page

* resolve file not found error and add constants

* add group stats and storage functionality

* generate new types

* add statistics and storage cap graphs

* fix: add loadFood query param #1103

* refactor to flex view
This commit is contained in:
Hayden 2022-03-27 15:12:18 -08:00 committed by GitHub
parent b57e42a3b3
commit 1e90dc2022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 326 additions and 32 deletions

View file

@ -97,7 +97,7 @@ export const useRecipes = (all = false, fetchRecipes = true) => {
})();
async function refreshRecipes() {
const { data } = await api.recipes.getAll(start, end);
const { data } = await api.recipes.getAll(start, end, { loadFood: true });
if (data) {
recipes.value = data;
}