mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01: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…
Reference in a new issue