1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-12 05:38:12 +09:00
This commit is contained in:
tamaina 2022-04-17 01:24:13 +09:00
parent b3818d9c48
commit fed59b1b71

View File

@ -251,7 +251,7 @@ watch(() => props.initialPage, () => {
});
watch(narrow, () => {
if (!narrow.value && props.initialPage == null) {
if (props.initialPage == null && !narrow.value) {
nav.push('/settings/profile');
}
});
@ -260,7 +260,7 @@ onMounted(() => {
ro.observe(el.value);
narrow.value = el.value.offsetWidth < NARROW_THRESHOLD;
if (!narrow.value && props.initialPage == null) {
if (props.initialPage == null && !narrow.value) {
nav.push('/settings/profile');
}
});