mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): new album title fix (#5467)
* new album title fix * Naming --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
1a63d3837e
commit
1dc832d392
7 changed files with 12 additions and 13 deletions
|
|
@ -41,9 +41,9 @@
|
|||
|
||||
const handleNew = () => {
|
||||
if (shared) {
|
||||
dispatch('newAlbum', { albumName: search.length > 0 ? search : 'Untitled' });
|
||||
dispatch('newAlbum', { albumName: search.length > 0 ? search : '' });
|
||||
} else {
|
||||
dispatch('newSharedAlbum', { albumName: search.length > 0 ? search : 'Untitled' });
|
||||
dispatch('newSharedAlbum', { albumName: search.length > 0 ? search : '' });
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue