浏览代码

Formatting

sellnat77 1 年之前
父节点
当前提交
3835d876be
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);