1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00

fix(web): Assigns description text area with asset description if it exists #4073 (#4125)

This commit is contained in:
Russell Tan 2023-09-18 00:21:28 -07:00 committed by GitHub
parent 672560f55b
commit b6c6a7e403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,10 @@
$: isOwner = $page?.data?.user?.id === asset.ownerId;
$: {
if (textarea) {
textarea.value = asset?.exifInfo?.description || '';
}
// Get latest description from server
if (asset.id && !api.isSharedLink) {
api.assetApi.getAssetById({ id: asset.id }).then((res) => {