From e409af7ba0b24295008d95baedd83b834a3bf4fc Mon Sep 17 00:00:00 2001 From: hayden Date: Thu, 28 Jan 2021 17:54:55 -0900 Subject: [PATCH] remove old files --- .../components/Settings/Backup/BackupCard.vue | 90 ------------------- .../Settings/General/HomePageSettings.vue | 20 ++++- frontend/src/components/UI/Search.vue | 63 ------------- frontend/src/store/store.js | 11 +-- mealie/utils/startup.py | 17 ---- 5 files changed, 23 insertions(+), 178 deletions(-) delete mode 100644 frontend/src/components/Settings/Backup/BackupCard.vue delete mode 100644 frontend/src/components/UI/Search.vue delete mode 100644 mealie/utils/startup.py diff --git a/frontend/src/components/Settings/Backup/BackupCard.vue b/frontend/src/components/Settings/Backup/BackupCard.vue deleted file mode 100644 index c89d6915f..000000000 --- a/frontend/src/components/Settings/Backup/BackupCard.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/components/Settings/General/HomePageSettings.vue b/frontend/src/components/Settings/General/HomePageSettings.vue index 2253be8bf..8eb4af3bf 100644 --- a/frontend/src/components/Settings/General/HomePageSettings.vue +++ b/frontend/src/components/Settings/General/HomePageSettings.vue @@ -32,7 +32,13 @@ - + All Categories - mdi-plus + + mdi-plus - + mdi-menu diff --git a/frontend/src/components/UI/Search.vue b/frontend/src/components/UI/Search.vue deleted file mode 100644 index ed2cd218b..000000000 --- a/frontend/src/components/UI/Search.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/store/store.js b/frontend/src/store/store.js index 55391250f..fbcf43f89 100644 --- a/frontend/src/store/store.js +++ b/frontend/src/store/store.js @@ -70,11 +70,12 @@ const store = new Vuex.Store({ async requestHomePageSettings() { // TODO: Query Backend for Categories - // this.commit("setHomePage", { - // showRecent: true, - // showLimit: 9, - // categories: ["breakfast", "lunch", "dinner"], - // }); + this.commit("setHomePageSettings", { + showRecent: true, + showLimit: 9, + categories: ["breakfast", "lunch", "dinner"], + homeCategories: [], + }); }, }, diff --git a/mealie/utils/startup.py b/mealie/utils/startup.py deleted file mode 100644 index 04be244e3..000000000 --- a/mealie/utils/startup.py +++ /dev/null @@ -1,17 +0,0 @@ -from pathlib import Path - -from app_config import REQUIRED_DIRS -from services.settings_services import default_theme_init - -CWD = Path(__file__).parent - - -def post_start(): - default_theme_init() - - - - - -if __name__ == "__main__": - pass