mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
finally fix?
This commit is contained in:
parent
d87fe05db9
commit
906424a416
@ -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",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user