fixup! fixup! fixup! Adding missing series Deleted UI elements

pull/3997/head
Kyle Butler 2 months ago
parent 69b1a6dd0d
commit 570c9e4138

@ -1,6 +1,6 @@
import ModelBase from 'App/ModelBase';
export type AuthorStatus = 'continuing' | 'ended' | 'deleted';
export type AuthorStatus = 'continuing' | 'ended';
interface Author extends ModelBase {
added: string;
@ -12,6 +12,7 @@ interface Author extends ModelBase {
metadataProfileId: number;
rootFolderPath: string;
sortName: string;
status: AuthorStatus;
tags: number[];
authorName: string;
isSaving?: boolean;

@ -9,13 +9,7 @@ export function getAuthorStatusDetails(status: AuthorStatus) {
message: translate('ContinuingMoreBooksAreExpected'),
};
if (status === 'deleted') {
statusDetails = {
icon: icons.AUTHOR_DELETED,
title: translate('StatusEndedDeceased'),
message: translate('NotContinuingAuthorDeceased'),
};
} else if (status === 'ended') {
if (status === 'ended') {
statusDetails = {
icon: icons.AUTHOR_ENDED,
title: translate('StatusEndedEnded'),

@ -204,7 +204,6 @@ export const SCORE = fasUserPlus;
export const SEARCH = fasSearch;
export const AUTHOR_CONTINUING = fasPlay;
export const AUTHOR_ENDED = fasStop;
export const AUTHOR_DELETED = fasExclamationTriangle;
export const SETTINGS = fasCogs;
export const SHUTDOWN = fasPowerOff;
export const SORT = fasSort;

@ -654,7 +654,6 @@
"NoUpdatesAreAvailable": "No updates are available",
"None": "None",
"NotAvailable": "Not Available",
"NotContinuingAuthorDeceased": "Author is deceased. No more books are expected.",
"NotMonitored": "Not Monitored",
"NotificationStatusAllClientHealthCheckMessage": "All notifications are unavailable due to failures",
"NotificationStatusSingleClientHealthCheckMessage": "Notifications unavailable due to failures: {0}",

Loading…
Cancel
Save