Browse Source

Formatting

sellnat77 1 year ago
parent
commit
3835d876be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web/src/lib/components/asset-viewer/detail-panel.svelte

+ 2 - 2
web/src/lib/components/asset-viewer/detail-panel.svelte

@@ -48,9 +48,9 @@
 
   $: people = asset.people || [];
 
-  function handleNewAsset(newAsset: AssetResponseDto){
+  const handleNewAsset = (newAsset: AssetResponseDto) => {
     description = newAsset?.exifInfo?.description || '';
-  }
+  };
 
   $: handleNewAsset(asset);