build(deps): bump frappeui to 0.1.1
This commit is contained in:
parent
7526612ffe
commit
b8c43e2391
@ -16,7 +16,7 @@
|
||||
"@vueuse/integrations": "^10.3.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"feather-icons": "^4.28.0",
|
||||
"frappe-ui": "^0.1.0",
|
||||
"frappe-ui": "^0.1.1",
|
||||
"pinia": "^2.0.33",
|
||||
"postcss": "^8.4.5",
|
||||
"socket.io-client": "^4.7.2",
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<Breadcrumbs :items="breadcrumbs" />
|
||||
</template>
|
||||
<template #right-header>
|
||||
<Button variant="solid" label="Create lead" @click="createLead">
|
||||
<Button v-if="!callLog.doc.lead" variant="solid" label="Create lead" @click="createLead">
|
||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||
</Button>
|
||||
</template>
|
||||
@ -52,10 +52,12 @@ import {
|
||||
FeatherIcon,
|
||||
call,
|
||||
} from 'frappe-ui'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { computed } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
const router = useRouter()
|
||||
const { getUser } = usersStore()
|
||||
|
||||
const props = defineProps({
|
||||
callLogId: {
|
||||
@ -131,6 +133,7 @@ async function createLead() {
|
||||
doctype: 'CRM Lead',
|
||||
first_name: "Lead from " + callLog.doc.from,
|
||||
mobile_no: callLog.doc.from,
|
||||
lead_owner: getUser().name,
|
||||
},
|
||||
})
|
||||
if (d.name) {
|
||||
|
||||
@ -562,7 +562,7 @@ async function updateNote(note) {
|
||||
const calls = createListResource({
|
||||
type: 'list',
|
||||
doctype: 'CRM Call Log',
|
||||
cache: ['Call Logs', props.leadId],
|
||||
cache: ['Call Logs', props.dealId],
|
||||
fields: [
|
||||
'name',
|
||||
'from',
|
||||
@ -576,7 +576,7 @@ const calls = createListResource({
|
||||
'modified',
|
||||
'note',
|
||||
],
|
||||
filters: { lead: props.leadId },
|
||||
filters: { lead: props.dealId },
|
||||
orderBy: 'modified desc',
|
||||
pageLength: 999,
|
||||
auto: true,
|
||||
|
||||
32
yarn.lock
32
yarn.lock
@ -4662,6 +4662,38 @@ fraction.js@^4.2.0:
|
||||
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950"
|
||||
integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==
|
||||
|
||||
frappe-ui@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.1.tgz#aa878105d7b11209efa05f1c3965c91f0dcb220b"
|
||||
integrity sha512-FlAxNzJmAf8B5NGrQYyDdznoF5MRB9bTaHacrmpgaXWuoVSknLeW02eHIoyYMBd1Q3Fwp7GvEhz6kk1ZRzUsIQ==
|
||||
dependencies:
|
||||
"@headlessui/vue" "^1.7.14"
|
||||
"@popperjs/core" "^2.11.2"
|
||||
"@tailwindcss/forms" "^0.5.3"
|
||||
"@tailwindcss/typography" "^0.5.0"
|
||||
"@tiptap/extension-color" "^2.0.3"
|
||||
"@tiptap/extension-highlight" "^2.0.3"
|
||||
"@tiptap/extension-image" "^2.0.3"
|
||||
"@tiptap/extension-link" "^2.0.3"
|
||||
"@tiptap/extension-mention" "^2.0.3"
|
||||
"@tiptap/extension-placeholder" "^2.0.3"
|
||||
"@tiptap/extension-table" "^2.0.3"
|
||||
"@tiptap/extension-table-cell" "^2.0.3"
|
||||
"@tiptap/extension-table-header" "^2.0.3"
|
||||
"@tiptap/extension-table-row" "^2.0.3"
|
||||
"@tiptap/extension-text-align" "^2.0.3"
|
||||
"@tiptap/extension-text-style" "^2.0.3"
|
||||
"@tiptap/extension-typography" "^2.0.3"
|
||||
"@tiptap/pm" "^2.0.3"
|
||||
"@tiptap/starter-kit" "^2.0.3"
|
||||
"@tiptap/suggestion" "^2.0.3"
|
||||
"@tiptap/vue-3" "^2.0.3"
|
||||
feather-icons "^4.28.0"
|
||||
idb-keyval "^6.2.0"
|
||||
showdown "^2.1.0"
|
||||
socket.io-client "^4.5.1"
|
||||
tippy.js "^6.3.7"
|
||||
|
||||
fresh@0.5.2:
|
||||
version "0.5.2"
|
||||
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user