Skip to content

Commit 600c3b6

Browse files
committed
fix duplicate the uses component.
1 parent d8f3745 commit 600c3b6

File tree

1 file changed

+2
-51
lines changed

1 file changed

+2
-51
lines changed

packages/Webkul/Admin/src/Resources/views/activities/edit.blade.php

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -146,57 +146,8 @@ class="w-full px-1 py-1 dark:bg-gray-900 dark:text-gray-300"
146146
type="text"
147147
placeholder="@lang('admin::app.common.start-typing')"
148148
/>
149-
150-
<x-admin::form.control-group.error control-name="comment" />
151-
</x-admin::form.control-group>
152-
153-
<!-- Participants -->
154-
<x-admin::form.control-group>
155-
<x-admin::form.control-group.label>
156-
@lang('admin::app.activities.edit.participants')
157-
</x-admin::form.control-group.label>
158-
159-
<!-- Participants Multi lookup Vue Component -->
160-
<v-multi-lookup-component>
161-
<div
162-
class="relative rounded border border-gray-200 px-2 py-1 hover:border-gray-400 focus:border-gray-400 dark:border-gray-800 dark:hover:border-gray-400 dark:focus:border-gray-400"
163-
role="button"
164-
>
165-
<ul class="flex flex-wrap items-center gap-1">
166-
<li>
167-
<input
168-
type="text"
169-
class="w-full px-1 py-1 dark:bg-gray-900 dark:text-gray-300"
170-
placeholder="@lang('admin::app.activities.edit.participants')"
171-
/>
172-
</li>
173-
</ul>
174-
175-
<span class="icon-down-arrow absolute top-1.5 text-2xl ltr:right-1.5 rtl:left-1.5"></span>
176-
</div>
177-
</v-multi-lookup-component>
178-
</x-admin::form.control-group>
179-
180-
<!-- Lead -->
181-
<x-admin::form.control-group class="!mb-0">
182-
<x-admin::form.control-group.label>
183-
@lang('admin::app.activities.edit.lead')
184-
</x-admin::form.control-group.label>
185-
186-
<x-admin::attributes.edit.lookup/>
187-
188-
<!-- Lead Lookup Vue Component -->
189-
<v-lookup-component
190-
:attribute="{'code': 'lead_id', 'name': 'Lead', 'lookup_type': 'leads'}"
191-
:value='@json($lookUpEntityData)'
192-
can-add-new="true"
193-
>
194-
<x-admin::form.control-group.control
195-
type="text"
196-
placeholder="@lang('admin::app.common.start-typing')"
197-
/>
198-
</v-lookup-component>
199-
</x-admin::form.control-group>
149+
</v-lookup-component>
150+
</x-admin::form.control-group>
200151

201152
{!! view_render_event('admin.activities.edit.form_controls.after') !!}
202153
</div>

0 commit comments

Comments
 (0)