fix back button display
This commit is contained in:
parent
fea8203c2f
commit
d0aeee089d
|
@ -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 New Issue