Skip to content

Commit fc22b4c

Browse files
committed
Fix button label not showing
1 parent ecb0137 commit fc22b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/views/components/input/Button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<router-link v-if="$props.to" :class="classes" :to="$props.to">
33
<template v-if="$props.icon"><i class="mr-1" :class="$props.icon"></i></template>
4-
{{ $props.text }}
4+
{{ $props.label }}
55
</router-link>
66
<button v-else :type="type" :class="classes" @click="onClick" :disabled="disabled">
77
<template v-if="$props.icon"><i class="mr-1" :class="$props.icon"></i></template>

0 commit comments

Comments
 (0)