Skip to content

Commit 67d6de0

Browse files
committed
fix: fixing vue prop binding issue
1 parent a70412b commit 67d6de0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/navbar.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@
153153
<script>
154154
export default {
155155
props: {
156-
showBackButton: Boolean,
156+
showBackButton: {
157+
type: Boolean,
158+
default: false,
159+
},
157160
},
158161
data() {
159162
return {

pages/diff.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="contents">
3-
<Navbar show-back-button="true">
3+
<Navbar :show-back-button="true">
44
<template #right>
55
<button
66
type="button"

0 commit comments

Comments
 (0)