fix again

This commit is contained in:
ThatOneCalculator 2022-11-21 20:14:04 -08:00
parent d2a3b12404
commit 38106186c3
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -98,7 +98,9 @@ const otherPostsPagination = {
};
const path = $computed(() => props.username + '/' + props.pageName);
const bgImg = page.eyeCatchingImage.url !== null ? page.eyeCatchingImage.url : 'linear-gradient(to bottom right, #31748f, #9ccfd8)';
let bgImg = $ref('linear-gradient(to bottom right, #31748f, #9ccfd8)');
if (page.eyeCatchingImage.url != null) { bgImg = `url(${page.eyeCatchingImage.url})`; }
function fetchPage() {
page = null;