fix: cleanups
This commit is contained in:
parent
2b22f96058
commit
f6eb651ed7
@ -96,11 +96,11 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Button, FeatherIcon, Tooltip } from 'frappe-ui'
|
||||
import UserAvatar from '@/components/UserAvatar.vue'
|
||||
import { timeAgo, dateFormat, dateTooltipFormat } from '@/utils'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { Button, FeatherIcon, Tooltip } from 'frappe-ui'
|
||||
import { computed } from 'vue'
|
||||
import UserAvatar from './UserAvatar.vue'
|
||||
|
||||
const { getUser } = usersStore()
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import UserDropdown from './UserDropdown.vue'
|
||||
import LeadsIcon from './Icons/LeadsIcon.vue'
|
||||
import DealsIcon from './Icons/DealsIcon.vue'
|
||||
import ContactsIcon from './Icons/ContactsIcon.vue'
|
||||
import InboxIcon from './Icons/InboxIcon.vue'
|
||||
import DashboardIcon from './Icons/DashboardIcon.vue'
|
||||
import NavLinks from './NavLinks.vue'
|
||||
import UserDropdown from '@/components/UserDropdown.vue'
|
||||
import LeadsIcon from '@/components/Icons/LeadsIcon.vue'
|
||||
import DealsIcon from '@/components/Icons/DealsIcon.vue'
|
||||
import ContactsIcon from '@/components/Icons/ContactsIcon.vue'
|
||||
import InboxIcon from '@/components/Icons/InboxIcon.vue'
|
||||
import DashboardIcon from '@/components/Icons/DashboardIcon.vue'
|
||||
import NavLinks from '@/components/NavLinks.vue'
|
||||
|
||||
const navigations = [
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div id="header" class="flex justify-between items-center px-5 py-3">
|
||||
<header class="flex justify-between items-center px-5 py-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<slot name="left-header" />
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<slot name="right-header" class="flex items-center gap-2" />
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div
|
||||
v-if="$slots['left-subheader'] || $slots['right-subheader']"
|
||||
id="sub-header"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</NavLink>
|
||||
</template>
|
||||
<script setup>
|
||||
import NavLink from './NavLink.vue'
|
||||
import NavLink from '@/components/NavLink.vue'
|
||||
|
||||
const props = defineProps(['links', 'active', 'inactive'])
|
||||
</script>
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
/>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Avatar } from 'frappe-ui'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { Avatar } from 'frappe-ui'
|
||||
|
||||
const props = defineProps({
|
||||
user: {
|
||||
|
||||
@ -21,10 +21,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Dropdown, FeatherIcon } from 'frappe-ui'
|
||||
import UserAvatar from '@/components/UserAvatar.vue'
|
||||
import { sessionStore } from '@/stores/session'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import UserAvatar from '@/components/UserAvatar.vue'
|
||||
import { Dropdown, FeatherIcon } from 'frappe-ui'
|
||||
import { computed } from 'vue'
|
||||
|
||||
const { logout } = sessionStore()
|
||||
|
||||
@ -209,7 +209,12 @@ import IndicatorIcon from '@/components/Icons/IndicatorIcon.vue'
|
||||
import LayoutHeader from '@/components/LayoutHeader.vue'
|
||||
import Toggler from '@/components/Toggler.vue'
|
||||
import Activities from '@/components/Activities.vue'
|
||||
import Breadcrumbs from '@/components/Breadcrumbs.vue'
|
||||
import UserAvatar from '@/components/UserAvatar.vue'
|
||||
import { TabGroup, TabList, Tab, TabPanels, TabPanel } from '@headlessui/vue'
|
||||
import { TransitionPresets, useTransition } from '@vueuse/core'
|
||||
import { dateFormat, timeAgo, dateTooltipFormat } from '@/utils'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import {
|
||||
createResource,
|
||||
FeatherIcon,
|
||||
@ -218,12 +223,7 @@ import {
|
||||
Dropdown,
|
||||
Tooltip,
|
||||
} from 'frappe-ui'
|
||||
import { TransitionPresets, useTransition } from '@vueuse/core'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { dateFormat, timeAgo, dateTooltipFormat } from '@/utils'
|
||||
import { ref, computed, h } from 'vue'
|
||||
import Breadcrumbs from '@/components/Breadcrumbs.vue'
|
||||
import UserAvatar from '@/components/UserAvatar.vue'
|
||||
|
||||
const { getUser, users } = usersStore()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user