Fixed leftover commas in json (#2183)
This commit is contained in:
parent
1902566e78
commit
518b8400e4
3 changed files with 8 additions and 15 deletions
|
|
@ -10,7 +10,7 @@ import { Router } from '@angular/router';
|
|||
import { ToastrService } from 'ngx-toastr';
|
||||
import { catchError } from 'rxjs/operators';
|
||||
import { AccountService } from '../_services/account.service';
|
||||
import {TranslocoService} from "@ngneat/transloco";
|
||||
import {translate, TranslocoService} from "@ngneat/transloco";
|
||||
|
||||
@Injectable()
|
||||
export class ErrorInterceptor implements HttpInterceptor {
|
||||
|
|
@ -41,8 +41,9 @@ export class ErrorInterceptor implements HttpInterceptor {
|
|||
break;
|
||||
default:
|
||||
// Don't throw multiple Something unexpected went wrong
|
||||
if (this.toastr.previousToastMessage !== 'Something unexpected went wrong.' && this.toastr.previousToastMessage !== 'errors.generic') {
|
||||
this.toast('errors.generic');
|
||||
const genericError = this.translocoService.translate('errors.generic');
|
||||
if (this.toastr.previousToastMessage !== 'Something unexpected went wrong.' && this.toastr.previousToastMessage !== genericError) {
|
||||
this.toast(genericError);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -953,7 +953,7 @@
|
|||
"range-hours": "{{value}} {{hourWord}}",
|
||||
"hour": "Hour",
|
||||
"hours": "Hours",
|
||||
"read-time-title": "{{series-info-cards.read-time-title}}",
|
||||
"read-time-title": "{{series-info-cards.read-time-title}}"
|
||||
},
|
||||
|
||||
"series-info-cards": {
|
||||
|
|
@ -1706,7 +1706,7 @@
|
|||
"collection-updated": "Collection updated",
|
||||
"reading-list-deleted": "Reading list deleted",
|
||||
"reading-list-updated": "Reading list updated",
|
||||
"confirm-delete-reading-list": "'Are you sure you want to delete the reading list? This cannot be undone.'",
|
||||
"confirm-delete-reading-list": "Are you sure you want to delete the reading list? This cannot be undone.",
|
||||
"item-removed": "Item removed",
|
||||
"nothing-to-remove": "Nothing to remove",
|
||||
"series-added-to-reading-list": "Series added to reading list",
|
||||
|
|
|
|||
12
openapi.json
12
openapi.json
|
|
@ -7,7 +7,7 @@
|
|||
"name": "GPL-3.0",
|
||||
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
|
||||
},
|
||||
"version": "0.7.6.6"
|
||||
"version": "0.7.6.8"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
|
|
@ -12031,17 +12031,9 @@
|
|||
"description": "Volume Id this Chapter belongs to",
|
||||
"format": "int32"
|
||||
},
|
||||
"created": {
|
||||
"type": "string",
|
||||
"description": "When chapter was created",
|
||||
"format": "date-time"
|
||||
},
|
||||
"lastModified": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"createdUtc": {
|
||||
"type": "string",
|
||||
"description": "When chapter was created",
|
||||
"format": "date-time"
|
||||
},
|
||||
"lastModifiedUtc": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue