edit business
This commit is contained in:
@@ -59,9 +59,9 @@
|
||||
{{ activeLabel(tpl.isActive) }}
|
||||
</AppBadge>
|
||||
</div>
|
||||
<div class="flex shrink-0 flex-col gap-1">
|
||||
<AppButton variant="ghost" class="!w-auto px-3" @click="openEdit(tpl)">ویرایش</AppButton>
|
||||
<AppButton variant="danger" class="!w-auto px-3" @click="onDelete(tpl)">حذف</AppButton>
|
||||
<div class="flex shrink-0 items-center gap-1">
|
||||
<AppIconButton icon="pencil" label="ویرایش" @click="openEdit(tpl)" />
|
||||
<AppIconButton icon="trash" label="حذف" variant="danger" @click="onDelete(tpl)" />
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@@ -105,6 +105,7 @@ import type { BusinessCategory, ServiceTemplate } from '@/api/types';
|
||||
import { ApiError } from '@/api/client';
|
||||
import AppBadge from '@/components/ui/AppBadge.vue';
|
||||
import AppButton from '@/components/ui/AppButton.vue';
|
||||
import AppIconButton from '@/components/ui/AppIconButton.vue';
|
||||
import AppInput from '@/components/ui/AppInput.vue';
|
||||
import AppModal from '@/components/ui/AppModal.vue';
|
||||
import AppSelect from '@/components/ui/AppSelect.vue';
|
||||
|
||||
Reference in New Issue
Block a user