Skip to content

Commit e410e10

Browse files
committed
Fix preview with long paths
1 parent e2b4bcd commit e410e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/asset-edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const AssetEdit = {
6464
}
6565

6666
this.isVideo = item?.type === 'video';
67-
this.publicId = '/' + item.file.split('/').slice(-2).join('/');
67+
this.publicId = item.file;
6868

6969
// Set up centralized text overlay mapping as a property
7070
this.textOverlayMap = [

0 commit comments

Comments
 (0)