fix back button display
This commit is contained in:
parent
fea8203c2f
commit
d0aeee089d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ const props = defineProps<{
|
||||||
|
|
||||||
const displayBackButton =
|
const displayBackButton =
|
||||||
props.displayBackButton &&
|
props.displayBackButton &&
|
||||||
history.length > 2 &&
|
history.length > 1 &&
|
||||||
inject("shouldBackButton", true);
|
inject("shouldBackButton", true);
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
|
|
Loading…
Reference in a new issue