Compare commits
1 Commits
main
...
Documentat
| Author | SHA1 | Date | |
|---|---|---|---|
| f6c4c3e508 |
@@ -20,8 +20,8 @@ const port = process.env.SERVER_PORT;
|
||||
|
||||
//glitchtip setup
|
||||
const sentry = require('@sentry/node');
|
||||
if (process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled")
|
||||
if (!process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled AAAAAA")
|
||||
} else {
|
||||
let dsn = process.env.GLITCHTIP_DSN;
|
||||
sentry.init({ dsn: dsn });
|
||||
|
||||
@@ -61,7 +61,7 @@ function blurAfter() {
|
||||
<!-- Members -->
|
||||
<NavigationMenuItem>
|
||||
<NavigationMenuLink as-child :class="navigationMenuTriggerStyle()">
|
||||
<RouterLink to="/" @click="blurAfter">Documents</RouterLink>
|
||||
<RouterLink to="/documents" @click="blurAfter">Documents</RouterLink>
|
||||
</NavigationMenuLink>
|
||||
</NavigationMenuItem>
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ onMounted(() => {
|
||||
<FormControl>
|
||||
<DateInput :model-value="(value as string) ?? ''" :disabled="readOnly" @update:model-value="handleChange" />
|
||||
</FormControl>
|
||||
<FormMessage />
|
||||
<FormMessage class="text-destructive"/>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
if (!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
if (!!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
let dsn = import.meta.env.VITE_GLITCHTIP_DSN;
|
||||
let environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
|
||||
|
||||
11
ui/src/pages/Documentation.vue
Normal file
11
ui/src/pages/Documentation.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
Alo
|
||||
<iframe src="https://docs.iceberg-gaming.com/" ></iframe>
|
||||
</div>
|
||||
</template>
|
||||
@@ -18,6 +18,8 @@ const router = createRouter({
|
||||
|
||||
{ path: '/calendar', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, },
|
||||
{ path: '/calendar/event/:id', component: () => import('@/pages/Calendar.vue'), meta: { requiresAuth: true, memberOnly: true }, },
|
||||
|
||||
{ path: '/documents', component: () => import('@/pages/Documentation.vue'), meta: { requiresAuth: true, memberOnly: true }, },
|
||||
|
||||
{ path: '/trainingReport', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } },
|
||||
{ path: '/trainingReport/new', component: () => import('@/pages/TrainingReport.vue'), meta: { requiresAuth: true, memberOnly: true } },
|
||||
|
||||
Reference in New Issue
Block a user