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