fix again

This commit is contained in:
ThatOneCalculator 2022-11-21 20:14:04 -08:00
parent 6b0d0c7bc8
commit 8e4d3533aa
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;