mirror of
https://github.com/immich-app/immich.git
synced 2026-06-27 14:26:52 +00:00
chore: undo unrelated button change
This commit is contained in:
@@ -300,13 +300,10 @@ export const stackAssets = async (assets: { id: string }[], showNotification = t
|
||||
if (showNotification) {
|
||||
toastManager.primary({
|
||||
description: $t('stacked_assets_count', { values: { count: stack.assets.length } }),
|
||||
button: (close) => ({
|
||||
button: {
|
||||
label: $t('view_stack'),
|
||||
onclick: async () => {
|
||||
await navigate({ targetRoute: 'current', assetId: stack.primaryAssetId });
|
||||
close();
|
||||
},
|
||||
}),
|
||||
onclick: () => navigate({ targetRoute: 'current', assetId: stack.primaryAssetId }),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user