mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
This commit is contained in:
parent
672560f55b
commit
b6c6a7e403
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
||||||
$: isOwner = $page?.data?.user?.id === asset.ownerId;
|
$: isOwner = $page?.data?.user?.id === asset.ownerId;
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
|
if (textarea) {
|
||||||
|
textarea.value = asset?.exifInfo?.description || '';
|
||||||
|
}
|
||||||
|
|
||||||
// Get latest description from server
|
// Get latest description from server
|
||||||
if (asset.id && !api.isSharedLink) {
|
if (asset.id && !api.isSharedLink) {
|
||||||
api.assetApi.getAssetById({ id: asset.id }).then((res) => {
|
api.assetApi.getAssetById({ id: asset.id }).then((res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue