Skip to content

Commit

Permalink
chore: hide unused sections
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusantguerrero committed Mar 24, 2024
1 parent 76f726b commit bdc7ac2
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
7 changes: 5 additions & 2 deletions resources/js/Components/Modules/occurrence/OccurrenceCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import SectionTitle from "@/Components/atoms/SectionTitle.vue";
import CategoryItem from '@/domains/transactions/components/CategoryItem.vue';
import { IOccurrenceCheck } from "@/Components/Modules/occurrence/models";
import { Link } from '@inertiajs/vue3';
defineProps<{
checks: IOccurrenceCheck[];
Expand All @@ -20,8 +21,10 @@ const getDayDiff = (lastDay: string): number => {

<template>
<div class="px-2 py-2 bg-white rounded-md overflow-x-auto ic-scroller">
<SectionTitle type="secondary" class="font-bold text-center">
Occurrence Checks
<SectionTitle type="secondary" class="font-bold text-center cursor-pointer">
<Link href="/housing/occurrence">
Occurrence Checks
</Link>
</SectionTitle>
<section class="flex mt-4">
<CategoryItem
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Dashboard/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
import MealWidget from "@/domains/meal/components/MealWidget.vue";
import BudgetTracker from "@/domains/budget/components/BudgetTracker.vue";
import OccurrenceCard from '@/Components/Modules/occurrence/OccurrenceCard.vue';
import DashboardSpendings from './Partials/DashboardSpendings.vue';
import { useAppContextStore } from '@/store';
import { IOccurrenceCheck } from '@/Components/Modules/occurrence/models';
import { IAccount, ICategory } from '@/domains/transactions/models';
import DashboardSpendings from './Partials/DashboardSpendings.vue';
withDefaults(defineProps<{
spendingSummary: {
Expand Down
12 changes: 6 additions & 6 deletions resources/js/domains/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ export const useAppMenu = t => {
return /housing/.test(currentPath)
}
},
{
icon: 'fas fa-heart',
label: t('Relationship'),
to: '/relationships/partner',
as: Link
},
// {
// icon: 'fas fa-heart',
// label: t('Relationship'),
// to: '/relationships/partner',
// as: Link
// },
{
icon: 'fas fa-users',
label: t('Profiles'),
Expand Down
25 changes: 13 additions & 12 deletions resources/js/domains/app/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@ const menus = {
label: 'Overview',
url: '/housing'
},
{
label: 'Chores',
url: '/housing/chores'
},
// {
// label: 'Chores',
// url: '/housing/chores'
// },
{
label: 'Occurrence Checks',
url: '/housing/occurrence'
},
{
label: 'Plans',
url: '/housing/plans'
},
{
label: 'Equipment',
url: '/housing/equipments'
}],
// {
// label: 'Plans',
// url: '/housing/plans'
// },
// {
// label: 'Equipment',
// url: '/housing/equipments'
// }
],
[MODULES.MEAL]: [
{
label: 'Overview',
Expand Down

0 comments on commit bdc7ac2

Please sign in to comment.