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:
waclaw66
2023-12-04 17:22:31 +01:00
committed by GitHub
parent 1a63d3837e
commit 1dc832d392
7 changed files with 12 additions and 13 deletions

View File

@@ -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>