mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Frontend: Remove error logging
This commit is contained in:
@@ -203,7 +203,6 @@ export default {
|
||||
Promise.all(uniqueTargets.map((uid) => $api.post(`albums/${uid}/clone`, { albums: this.selection })))
|
||||
.then(() => this.onCloned())
|
||||
.catch((error) => {
|
||||
console.error("Failed to clone albums to some targets:", error);
|
||||
$notify.error(this.$gettext("Some albums could not be cloned"));
|
||||
});
|
||||
},
|
||||
|
@@ -133,7 +133,6 @@ export default {
|
||||
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
|
||||
.then(() => this.onAdded())
|
||||
.catch((error) => {
|
||||
console.error("Failed to add files to some albums:", error);
|
||||
$notify.error(this.$gettext("Some albums could not be updated"));
|
||||
});
|
||||
},
|
||||
|
@@ -135,7 +135,6 @@ export default {
|
||||
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
|
||||
.then(() => this.onAdded())
|
||||
.catch((error) => {
|
||||
console.error("Failed to add labels to some albums:", error);
|
||||
$notify.error(this.$gettext("Some albums could not be updated"));
|
||||
});
|
||||
},
|
||||
|
@@ -129,7 +129,6 @@ export default {
|
||||
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
|
||||
.then(() => this.onAdded())
|
||||
.catch((error) => {
|
||||
console.error("Failed to add subjects to some albums:", error);
|
||||
$notify.error(this.$gettext("Some albums could not be updated"));
|
||||
});
|
||||
},
|
||||
|
@@ -351,7 +351,6 @@ export default {
|
||||
Promise.all(uniqueAlbumUids.map((uid) => $api.post(`albums/${uid}/photos`, body)))
|
||||
.then(() => this.onAdded())
|
||||
.catch((error) => {
|
||||
console.error("Failed to add photos to some albums:", error);
|
||||
$notify.error(this.$gettext("Some albums could not be updated"));
|
||||
})
|
||||
.finally(() => {
|
||||
|
Reference in New Issue
Block a user