add: back button in header

Closes transfem-org/Sharkey#196
This commit is contained in:
Mar0xy 2023-12-03 19:09:15 +01:00
parent ec5facd09a
commit 1bb258b16a
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
5 changed files with 22 additions and 4 deletions

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkStickyContainer>
<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template>
<template #header><MkPageHeader v-model:tab="tab" :displayBackButton="true" :actions="headerActions" :tabs="headerTabs"/></template>
<div>
<div v-if="user">
<XHome v-if="tab === 'home'" :user="user"/>