environments/review-docs-2539-gq1t7p/deployments/21502
ArneBo 2025-09-22 16:49:48 +02:00 zatwierdzone przez Arne Bollinger
rodzic 6100b4af57
commit 7cb1fbdd26
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ const confirm = () => {
<Modal
v-if="!props.popoverItem"
v-model="showModal"
isDestructive
isdestructive
:title="title || t('components.common.DangerousButton.header.confirm')"
:cancel="t('components.common.DangerousButton.button.cancel')"
>

Wyświetl plik

@ -14,7 +14,7 @@ const { t } = useI18n()
const props = defineProps<{
title: string,
overPopover?: true,
isDestructive?: true,
isdestructive?: true,
cancel?: string | true,
icon?: string,
autofocus?: true | 'off'
@ -56,7 +56,7 @@ onKeyboardShortcut('escape', () => { isOpen.value = false })
class="funkwhale modal"
:class="[
{
'isDestructive': isDestructive,
'isdestructive': isdestructive,
'has-alert': !!$slots.alert,
'over-popover': overPopover,
}
@ -91,7 +91,7 @@ onKeyboardShortcut('escape', () => { isOpen.value = false })
v-if="title !== ''"
:h2="title"
section-heading
:class="{ 'destructive-header': destructive }"
:class="{ 'destructive-header': isdestructive }"
/>
<Spacer grow />
<Button
@ -167,7 +167,7 @@ onKeyboardShortcut('escape', () => { isOpen.value = false })
position: relative;
&.isDestructive {
&.isdestructive {
border-top: 24px solid var(--fw-red-400);
> h2 {

Wyświetl plik

@ -312,8 +312,8 @@ const renderedDescription = computed(() => {
<template #default="{ toggleOpen }">
<OptionsButton
is-square-small
@click="toggleOpen"
raised
@click="toggleOpen"
/>
</template>
<template #items>