Feature/show extension repo only in case more than one repo is set (#543)

* Rename "isSingleRepoSet" prop to "showSourceRepo"

* Show repo of source in case sources of different repos are installed

* Center the source icon
This commit is contained in:
schroda
2024-01-09 22:09:31 +01:00
committed by GitHub
parent 684ae69470
commit fd1fa63064
8 changed files with 203 additions and 34 deletions

View File

@@ -17,6 +17,7 @@ import {
GetMangaQuery,
GetServerSettingsQuery,
GetSourceQuery,
GetSourcesQuery,
MetaType,
SourcePreferenceChangeInput,
} from '@/lib/graphql/generated/graphql.ts';
@@ -44,6 +45,8 @@ export interface ISource {
displayName: string;
}
export type TPartialSource = GetSourcesQuery['sources']['nodes'][number];
export type SourceFilters = GetSourceQuery['source']['filters'][number];
export interface IMetadataMigration {