caclulate rate currency result
Some checks are pending
deploy / deploy (push) Waiting to run

This commit is contained in:
2024-01-02 22:13:27 +01:00
parent 68418d1205
commit 49c0c94ec9
5 changed files with 45 additions and 15 deletions

View File

@@ -4,10 +4,11 @@ import { getCurrentInstance, ref, onMounted, onUnmounted, nextTick, computed } f
import { FwbDropdown, FwbListGroup, FwbListGroupItem } from 'flowbite-vue';
import LogoIkea from '@/assets/Ikea_logo.svg';
import {
FwbNavbar,
FwbNavbarCollapse,
FwbNavbarLink,
FwbNavbarLogo,
FwbSelect,
FwbNavbar,
FwbNavbarCollapse,
FwbNavbarLink,
FwbNavbarLogo,
} from 'flowbite-vue';
const menu = ref([])
@@ -41,12 +42,12 @@ onMounted(fetch_menu);
</template>
<template #default="{ isShowMenu }">
<fwb-navbar-collapse :is-show-menu="isShowMenu" v-if="menu.length >0 ">
<fwb-navbar-link :link="route(menu[0].route_or_url)" >
<fwb-navbar-collapse :is-show-menu="isShowMenu" v-if="menu.length > 0">
<fwb-navbar-link :link="route(menu[0].route_or_url)">
Home
</fwb-navbar-link>
<template v-for="item in menu[0].childs" v-if="menu.length > 0">
<fwb-navbar-link :link="route(item.route_or_url)" >
<fwb-navbar-link :link="route(item.route_or_url)">
{{ item.name }}
</fwb-navbar-link>
</template>
@@ -56,8 +57,4 @@ onMounted(fetch_menu);
<div class="m-3">
<slot />
</div>
</template>
<style>
@import 'vue3-easy-data-table/dist/style.css';
</style>
<style src="vue-multiselect/dist/vue-multiselect.css"></style>
</template>