feat: remove unnecessary prop from Card
This commit is contained in:
parent
43e38fae17
commit
1eb1aa2575
@ -11,7 +11,7 @@
|
||||
{{ title }}
|
||||
</p>
|
||||
<BaseButton
|
||||
v-if="hasClose"
|
||||
v-if="$attrs.onClose"
|
||||
v-tooltip="$t('misc.close')"
|
||||
class="card-header-icon"
|
||||
:aria-label="$t('misc.close')"
|
||||
@ -51,7 +51,6 @@ import BaseButton from '@/components/base/BaseButton.vue'
|
||||
withDefaults(defineProps<{
|
||||
title?: string
|
||||
padding?: boolean
|
||||
hasClose?: boolean
|
||||
closeIcon?: IconProp
|
||||
shadow?: boolean
|
||||
hasContent?: boolean
|
||||
@ -59,7 +58,6 @@ withDefaults(defineProps<{
|
||||
}>(), {
|
||||
title: '',
|
||||
padding: true,
|
||||
hasClose: false,
|
||||
closeIcon: 'times',
|
||||
shadow: true,
|
||||
hasContent: true,
|
||||
|
@ -9,7 +9,6 @@
|
||||
:shadow="false"
|
||||
:padding="false"
|
||||
class="has-text-left"
|
||||
:has-close="true"
|
||||
:loading="loading"
|
||||
@close="$router.back()"
|
||||
>
|
||||
|
@ -7,7 +7,6 @@
|
||||
<Card
|
||||
class="has-no-shadow"
|
||||
:title="$t('about.title')"
|
||||
:has-close="true"
|
||||
:padding="false"
|
||||
@close="$router.back()"
|
||||
>
|
||||
|
@ -62,7 +62,6 @@
|
||||
>
|
||||
<Card
|
||||
:title="$t('label.edit.header')"
|
||||
:has-close="true"
|
||||
@close="() => isLabelEdit = false"
|
||||
>
|
||||
<form @submit.prevent="editLabelSubmit()">
|
||||
|
Loading…
x
Reference in New Issue
Block a user