forked from mirrors/misskey
fix(frontend): bannerUrl が空の場合に /about ページで /null へのアクセスが発生する問題を修正 (#17299)
fix(frontend): bannerUrl が空の場合に /about ページで /null へのリクエストが発生する問題を修正
bannerUrl が空の場合は 背景画像を設定しない。
about.overview.vue の background-image: url("null"); によって /null へのリクエストが発生してしまうため。
This commit is contained in:
parent
22577e2134
commit
787de92c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<template>
|
||||
<div class="_gaps_m">
|
||||
<div :class="$style.banner" :style="{ backgroundImage: `url(${ instance.bannerUrl })` }">
|
||||
<div :class="$style.banner" :style="{ backgroundImage: instance.bannerUrl ? `url(${ instance.bannerUrl })` : undefined }">
|
||||
<div style="overflow: clip;">
|
||||
<img :src="instance.iconUrl ?? '/favicon.ico'" alt="" :class="$style.bannerIcon"/>
|
||||
<div :class="$style.bannerName">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue