mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 16:23:22 +00:00
ADD - build Housing phone app
This commit is contained in:
@@ -14,8 +14,12 @@ const canGoHome = computed(
|
||||
function goHome(): void {
|
||||
if (!canGoHome.value) return
|
||||
|
||||
if (route.name !== 'home') {
|
||||
void router.push('/')
|
||||
return
|
||||
}
|
||||
|
||||
phone.setCurrentPage(HOME_PAGE)
|
||||
if (route.name !== 'home') void router.push('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -25,7 +29,6 @@ function goHome(): void {
|
||||
:class="{ 'phone-home-indicator--interactive': canGoHome }"
|
||||
type="button"
|
||||
:aria-label="phone.t('Common.home')"
|
||||
@pointerdown.stop="goHome"
|
||||
@click.stop="goHome"
|
||||
>
|
||||
<span aria-hidden="true"></span>
|
||||
|
||||
Reference in New Issue
Block a user