Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Trim spaces for more forgiving copy paste

Manav Rathid80358552f4a
diff --git a/web/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx b/web/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx
index 8a5cb2c909..fdabffe846 100644
--- a/web/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx
@@ -50,7 +50,7 @@ export default function AlbumCastDialog(props: Props) {
setFieldError,
) => {
try {
- await doCast(value);
+ await doCast(value.trim());
props.onHide();
} catch (e) {
const error = e as Error;