mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-05 19:46:28 -05:00
Bug/fix infinite loop (#512)
* fix infinite loop with safe get method * fix ingredients Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
@@ -18,6 +18,7 @@ export const routes = [
|
||||
...mealRoutes,
|
||||
...recipeRoutes,
|
||||
|
||||
{ path: "/page-not-found", component: Page404 },
|
||||
{ path: "*", component: Page404 },
|
||||
];
|
||||
|
||||
@@ -31,7 +32,7 @@ const router = new VueRouter({
|
||||
});
|
||||
|
||||
const DEFAULT_TITLE = "Mealie";
|
||||
const TITLE_SEPARATOR = "🍴";
|
||||
const TITLE_SEPARATOR = "|";
|
||||
const TITLE_SUFFIX = " " + TITLE_SEPARATOR + " " + DEFAULT_TITLE;
|
||||
router.afterEach(to => {
|
||||
Vue.nextTick(async () => {
|
||||
|
||||
Reference in New Issue
Block a user