Skip to content

Commit 6dac57e

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

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
@@ -5,7 +5,7 @@
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>
8-
{{ text }}
8+
{{ $props.label }}
99
</button>
1010
</template>
1111

0 commit comments

Comments
 (0)