Skip to content

Commit 06311ef

Browse files
fix(Validation): 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 a1c989e commit 06311ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/Validation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
:legal-information="legalInformation"
6363
:document-valid-message="documentValidMessage"
6464
:is-after-signed="isAfterSigned" />
65-
<NcButton v-if="clickedValidate" class="change" type="primary" @click="goBack()">
65+
<NcButton v-if="clickedValidate" class="change" variant="primary" @click="goBack()">
6666
<template #icon>
6767
<NcIconSvgWrapper :path="mdiArrowLeft" />
6868
</template>

0 commit comments

Comments
 (0)