mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore(web): Fixing up missing awaits (#3882)
* chore(web): Fixing up some missing awaits. * chore(web/shared-viewer): Update import to shorted version.
This commit is contained in:
committed by
GitHub
parent
f1027d7807
commit
305889f32b
@@ -37,14 +37,14 @@
|
||||
await api.sharedLinkApi.removeSharedLink({ id: deleteLinkId });
|
||||
notificationController.show({ message: 'Deleted shared link', type: NotificationType.Info });
|
||||
deleteLinkId = null;
|
||||
refresh();
|
||||
await refresh();
|
||||
} catch (error) {
|
||||
handleError(error, 'Unable to delete shared link');
|
||||
await handleError(error, 'Unable to delete shared link');
|
||||
}
|
||||
};
|
||||
|
||||
const handleEditDone = async () => {
|
||||
refresh();
|
||||
await refresh();
|
||||
editSharedLink = null;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user