remove whitespace
This commit is contained in:
+2
-2
@@ -112,13 +112,13 @@ class Render {
|
|||||||
// Use .map to generate an array of promises, then await them all to load in parallel.
|
// Use .map to generate an array of promises, then await them all to load in parallel.
|
||||||
const items = await Promise.all(share.assets.map(async (asset) => {
|
const items = await Promise.all(share.assets.map(async (asset) => {
|
||||||
let video, downloadUrl
|
let video, downloadUrl
|
||||||
if (asset.type === AssetType.video) {
|
if (asset.type === AssetType.video) {
|
||||||
// Populate the data-video property
|
// Populate the data-video property
|
||||||
video = JSON.stringify({
|
video = JSON.stringify({
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
src: immich.videoUrl(share.key, asset.id),
|
src: immich.videoUrl(share.key, asset.id),
|
||||||
type: await immich.getVideoContentType(asset)
|
type: await immich.getVideoContentType(asset)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|||||||
Reference in New Issue
Block a user