mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: fix promise chaining
This commit is contained in:
@ -65,7 +65,7 @@ class PostListController {
|
||||
Promise.all(
|
||||
this._bulkEditTags.map(tag =>
|
||||
e.detail.post.tags.addByName(tag)))
|
||||
.then(() => { e.detail.post.save(); })
|
||||
.then(e.detail.post.save())
|
||||
.catch(error => window.alert(error.message));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user