feat: fallback for back button

This commit is contained in:
Julien Calixte
2026-02-15 19:59:11 +01:00
parent 8e754021bd
commit 1d4e3e3d0a
4 changed files with 15 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ const author = computedAsync(async () => getUniqueAka(did.value))
<template>
<main class="public-note-list-view">
<h1>{{ author?.alias ?? did }}</h1>
<back-button class="back-button" />
<back-button class="back-button" :fallback="{ name: 'Home' }" />
<div v-if="isLoading"></div>
<div v-else>
<ul