mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(web): use id instead of assetId (#2643)
This commit is contained in:
parent
a9fb1d435a
commit
47673dd773
2 changed files with 13 additions and 12 deletions
|
|
@ -57,7 +57,7 @@ function createAssetInteractionStore() {
|
|||
};
|
||||
|
||||
const setViewingAssetId = async (id: string) => {
|
||||
const { data } = await api.assetApi.getAssetById({ assetId: id });
|
||||
const { data } = await api.assetApi.getAssetById({ id });
|
||||
viewingAssetStoreState.set(data);
|
||||
isViewingAssetStoreState.set(true);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue