mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-19 12:02:55 +09:00
fix back button display
This commit is contained in:
parent
bbc8441c46
commit
232c7039a1
@ -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
Block a user