Disable not ready stuff
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 1m58s
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 1m58s
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
icon="calendar_month"
|
||||
to="/schedule"
|
||||
></q-route-tab>
|
||||
<q-route-tab
|
||||
<!-- <q-route-tab
|
||||
name="Checklists"
|
||||
icon="checklist"
|
||||
to="/checklist"
|
||||
@@ -19,7 +19,7 @@
|
||||
></q-route-tab>
|
||||
<q-route-tab name="Tasks" icon="build" to="/task">
|
||||
<q-badge color="red" floating> NEW </q-badge>
|
||||
</q-route-tab>
|
||||
</q-route-tab> -->
|
||||
</q-tabs>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
>
|
||||
<q-scroll-area class="fit">
|
||||
<q-list padding class="menu-list">
|
||||
<template v-for="link in links" :key="link.name">
|
||||
<template v-for="link in enabledLinks" :key="link.name">
|
||||
<q-item clickable v-ripple :to="link.to">
|
||||
<q-item-section avatar>
|
||||
<q-icon :name="link.icon" />
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineComponent } from 'vue';
|
||||
import { links } from 'src/router/navlinks.js';
|
||||
import { enabledLinks } from 'src/router/navlinks.js';
|
||||
import { logout } from 'boot/appwrite';
|
||||
|
||||
defineProps(['drawer']);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
<q-separator />
|
||||
|
||||
<q-card-actions align="evenly">
|
||||
<!-- <q-card-actions align="evenly">
|
||||
<q-btn flat>Info</q-btn>
|
||||
<q-btn flat>Book</q-btn>
|
||||
<q-btn flat>Check-Out</q-btn>
|
||||
<q-btn flat>Check-In</q-btn>
|
||||
</q-card-actions>
|
||||
</q-card-actions> -->
|
||||
</q-card>
|
||||
</div>
|
||||
<div v-else><q-card>Sorry, no boats to show you!</q-card></div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<q-img alt="OYS Logo" src="~assets/oysqn_logo.png" fit="scale-down" />
|
||||
<q-list class="full-width mobile-only">
|
||||
<q-item
|
||||
v-for="link in links.filter((x) => x.front_links)"
|
||||
v-for="link in enabledLinks.filter((x) => x.front_links)"
|
||||
:key="link.name"
|
||||
>
|
||||
<q-btn
|
||||
@@ -23,6 +23,6 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { links } from 'src/router/navlinks.js';
|
||||
import { enabledLinks } from 'src/router/navlinks.js';
|
||||
import ToolbarComponent from 'components/ToolbarComponent.vue';
|
||||
</script>
|
||||
|
||||
@@ -4,47 +4,57 @@ export const links = [
|
||||
to: '/',
|
||||
icon: 'home',
|
||||
front_links: false,
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: 'Profile',
|
||||
to: '/profile',
|
||||
icon: 'account_circle',
|
||||
front_links: false,
|
||||
enabled: false,
|
||||
},
|
||||
{
|
||||
name: 'Boats',
|
||||
to: '/boat',
|
||||
icon: 'sailing',
|
||||
front_links: true,
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: 'Schedule',
|
||||
to: '/schedule',
|
||||
icon: 'calendar_month',
|
||||
front_links: true,
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: 'Certifications',
|
||||
to: '/certification',
|
||||
icon: 'verified',
|
||||
front_links: true,
|
||||
enabled: false,
|
||||
},
|
||||
{
|
||||
name: 'Checklists',
|
||||
to: '/checklist',
|
||||
icon: 'checklist',
|
||||
front_links: true,
|
||||
enabled: false,
|
||||
},
|
||||
{
|
||||
name: 'Reference',
|
||||
to: '/reference',
|
||||
icon: 'info_outline',
|
||||
front_links: true,
|
||||
enabled: false,
|
||||
},
|
||||
{
|
||||
name: 'Tasks',
|
||||
to: '/task',
|
||||
icon: 'build',
|
||||
front_links: true,
|
||||
enabled: false,
|
||||
},
|
||||
];
|
||||
|
||||
export const enabledLinks = links.filter((link) => link.enabled);
|
||||
|
||||
Reference in New Issue
Block a user