Generating commit message...
This commit is contained in:
@@ -4152,8 +4152,9 @@ async function onGenerateSbFrameImage(sb, slot) {
|
||||
const firstImg = getSbFirstImage(sb.id)
|
||||
if (firstImg) {
|
||||
const firstUrl = assetImageUrl(firstImg) || firstImg.image_url || firstImg.local_path
|
||||
if (firstUrl) {
|
||||
refImagesForCreate = [firstUrl]
|
||||
const firstAbsoluteUrl = toAbsoluteImageUrl(firstUrl)
|
||||
if (firstAbsoluteUrl) {
|
||||
refImagesForCreate = [firstAbsoluteUrl]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user