diff --git a/src/components/albums/potential-albums/PotentialAlbumsAssets.tsx b/src/components/albums/potential-albums/PotentialAlbumsAssets.tsx
index 4a297a9..8e76c25 100644
--- a/src/components/albums/potential-albums/PotentialAlbumsAssets.tsx
+++ b/src/components/albums/potential-albums/PotentialAlbumsAssets.tsx
@@ -37,6 +37,7 @@ export default function PotentialAlbumsAssets() {
isSelected: selectedIds.includes(p.id),
}));
}, [assets, selectedIds]);
+ console.log(images)
const slides = useMemo(
() =>
@@ -96,6 +97,7 @@ export default function PotentialAlbumsAssets() {
onClick={handleClick}
enableImageSelection={true}
onSelect={handleSelect}
+
/>
>
diff --git a/src/pages/albums/potential-albums.tsx b/src/pages/albums/potential-albums.tsx
index 958923d..dd5bc09 100644
--- a/src/pages/albums/potential-albums.tsx
+++ b/src/pages/albums/potential-albums.tsx
@@ -4,6 +4,7 @@ import PotentialAlbumsDates from "@/components/albums/potential-albums/Potential
import PageLayout from "@/components/layouts/PageLayout";
import Header from "@/components/shared/Header";
import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
import { useToast } from "@/components/ui/use-toast";
import PotentialAlbumContext, {
IPotentialAlbumConfig,
@@ -30,6 +31,7 @@ export default function PotentialAlbums() {
assets: config.assets.filter(
(asset) => !config.selectedIds.includes(asset.id)
),
+ selectedIds: [],
});
})
.then(() => {
@@ -56,6 +58,31 @@ export default function PotentialAlbums() {
{config.selectedIds.length} Selected
+ {config.selectedIds.length === config.assets.length ? (
+
+ ) : (
+
+ )}
>
}