finally fix?

This commit is contained in:
ThatOneCalculator 2022-11-21 20:21:03 -08:00
parent 4a56753869
commit e7b914bea3
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.16.7",
"version": "12.119.0-calc.16.8",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -100,8 +100,6 @@ const path = $computed(() => props.username + '/' + props.pageName);
let bgImg = $ref('linear-gradient(to bottom right, #31748f, #9ccfd8)');
if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; }
function fetchPage() {
page = null;
os.api('pages/show', {
@ -163,6 +161,8 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);
if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; }
definePageMetadata(computed(() => page ? {
title: computed(() => page.title || page.name),
avatar: page.user,