Add Superuser Logging Dashboard
This commit is contained in:
@@ -21,6 +21,10 @@ import {
|
||||
FwbFooterLinkGroup,
|
||||
} from 'flowbite-vue';
|
||||
|
||||
import { Link, usePage } from '@inertiajs/vue3'
|
||||
|
||||
const isAuth = computed(() => page.props.auth.user)
|
||||
|
||||
import Multiselect from "vue-multiselect";
|
||||
import { settingsStore } from '../settingsStore.js';
|
||||
const menu = ref([])
|
||||
@@ -33,6 +37,7 @@ const currencyHash = ref([])
|
||||
|
||||
const ccountry = ref([])
|
||||
|
||||
|
||||
const ccountry_list = computed(() => {
|
||||
let computed_list = settingsStore.ccountry_list.filter((c) => (c.offline == (settingsStore.online ? 'N' : 'Y')) || settingsStore.online == true);
|
||||
console.log('COMPUTED_LIST',computed_list);
|
||||
@@ -221,6 +226,13 @@ onMounted(fetch_menu);
|
||||
<fwb-navbar-link :link="route(menu[0].route_or_url)">
|
||||
Home
|
||||
</fwb-navbar-link>
|
||||
<fwb-navbar-link v-if="$page.props.user" :link="route('profile.show')">
|
||||
Profile
|
||||
</fwb-navbar-link>
|
||||
<fwb-navbar-link v-if="!$page.props.user" :link="route('login')">
|
||||
Login
|
||||
</fwb-navbar-link>
|
||||
|
||||
<fwb-mega-menu link="#">
|
||||
<template #default>{{ tsettings }}</template>
|
||||
</fwb-mega-menu>
|
||||
|
||||
Reference in New Issue
Block a user