Temp use the old translation key for hotfix
This commit is contained in:
parent
727b8b353f
commit
c527932f6e
1 changed files with 2 additions and 1 deletions
|
|
@ -473,7 +473,8 @@ export class ActionService {
|
||||||
}
|
}
|
||||||
|
|
||||||
async deleteMultipleVolumes(volumes: Array<Volume>, callback?: BooleanActionCallback) {
|
async deleteMultipleVolumes(volumes: Array<Volume>, callback?: BooleanActionCallback) {
|
||||||
if (!await this.confirmService.confirm(translate('toasts.confirm-delete-multiple-volumes', {count: volumes.length}))) return;
|
// TODO: Change translation key back to "toasts.confirm-delete-multiple-volumes"
|
||||||
|
if (!await this.confirmService.confirm(translate('toasts.confirm-delete-multiple-chapters', {count: volumes.length}))) return;
|
||||||
|
|
||||||
this.volumeService.deleteMultipleVolumes(volumes.map(v => v.id)).subscribe((success) => {
|
this.volumeService.deleteMultipleVolumes(volumes.map(v => v.id)).subscribe((success) => {
|
||||||
if (callback) {
|
if (callback) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue