Skip to content

Commit 8ac8a03

Browse files
fix(Documents): migrate NcButton type to variant prop
The 'type' prop for color variants was removed in @nextcloud/vue v9.0.0 in favour of the 'variant' prop. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent dcf89e4 commit 8ac8a03

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/views/Account/partials/Documents.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</div>
2626
<div class="document-actions">
2727
<NcButton v-if="doc.status === -1 && isAuthenticatedUser"
28-
type="tertiary"
28+
variant="tertiary"
2929
:aria-label="t('libresign', 'Choose from Files')"
3030
@click="toggleFilePicker(doc.file_type.key)">
3131
<template #icon>
@@ -34,7 +34,7 @@
3434
{{ t('libresign', 'Choose from Files') }}
3535
</NcButton>
3636
<NcButton v-if="doc.status === -1"
37-
type="tertiary"
37+
variant="tertiary"
3838
:aria-label="t('libresign', 'Upload file')"
3939
@click="inputFile(doc.file_type.key)">
4040
<template #icon>
@@ -43,7 +43,7 @@
4343
{{ t('libresign', 'Upload file') }}
4444
</NcButton>
4545
<NcButton v-if="doc.status !== -1"
46-
type="tertiary"
46+
variant="tertiary"
4747
:aria-label="t('libresign', 'Delete file')"
4848
@click="deleteFile(doc)">
4949
<template #icon>

0 commit comments

Comments
 (0)