fix header tabs

This commit is contained in:
ThatOneCalculator 2023-04-19 21:05:41 -07:00
parent e3e3ee8bb0
commit 08930c6de2
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -75,8 +75,18 @@ watch($$(tab), () => syncSlide(tabs.indexOf(tab)));
const headerActions = $computed(() => []); const headerActions = $computed(() => []);
const headerTabs = $computed(() => []); const headerTabs = $computed(() => [
{
key: "notes",
icon: "ph-note ph-bold ph-lg",
title: i18n.ts.notes,
},
{
key: "users",
icon: "ph-users ph-bold ph-lg",
title: i18n.ts.users,
},
]);
let swiperRef = null; let swiperRef = null;
function setSwiperRef(swiper) { function setSwiperRef(swiper) {