mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Rename loading vars for consistency
This commit is contained in:
parent
ce687b28ef
commit
f404669831
@ -35,7 +35,7 @@ const ModelList = (props: ModelListProps) => {
|
|||||||
const [modelFormatFilter, setModelFormatFilter] =
|
const [modelFormatFilter, setModelFormatFilter] =
|
||||||
useState<CombinedModelFormat>('all');
|
useState<CombinedModelFormat>('all');
|
||||||
|
|
||||||
const { filteredDiffusersModels, isDiffusersModelLoading } =
|
const { filteredDiffusersModels, isLoadingDiffusersModels } =
|
||||||
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
||||||
selectFromResult: ({ data, isLoading }) => ({
|
selectFromResult: ({ data, isLoading }) => ({
|
||||||
filteredDiffusersModels: modelsFilter(
|
filteredDiffusersModels: modelsFilter(
|
||||||
@ -44,11 +44,11 @@ const ModelList = (props: ModelListProps) => {
|
|||||||
'diffusers',
|
'diffusers',
|
||||||
nameFilter
|
nameFilter
|
||||||
),
|
),
|
||||||
isDiffusersModelLoading: isLoading,
|
isLoadingDiffusersModels: isLoading,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
const { filteredCheckpointModels, isCheckpointModelLoading } =
|
const { filteredCheckpointModels, isLoadingCheckpointModels } =
|
||||||
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
||||||
selectFromResult: ({ data, isLoading }) => ({
|
selectFromResult: ({ data, isLoading }) => ({
|
||||||
filteredCheckpointModels: modelsFilter(
|
filteredCheckpointModels: modelsFilter(
|
||||||
@ -57,7 +57,7 @@ const ModelList = (props: ModelListProps) => {
|
|||||||
'checkpoint',
|
'checkpoint',
|
||||||
nameFilter
|
nameFilter
|
||||||
),
|
),
|
||||||
isCheckpointModelLoading: isLoading,
|
isLoadingCheckpointModels: isLoading,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user