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] =
|
||||
useState<CombinedModelFormat>('all');
|
||||
|
||||
const { filteredDiffusersModels, isDiffusersModelLoading } =
|
||||
const { filteredDiffusersModels, isLoadingDiffusersModels } =
|
||||
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
||||
selectFromResult: ({ data, isLoading }) => ({
|
||||
filteredDiffusersModels: modelsFilter(
|
||||
@ -44,11 +44,11 @@ const ModelList = (props: ModelListProps) => {
|
||||
'diffusers',
|
||||
nameFilter
|
||||
),
|
||||
isDiffusersModelLoading: isLoading,
|
||||
isLoadingDiffusersModels: isLoading,
|
||||
}),
|
||||
});
|
||||
|
||||
const { filteredCheckpointModels, isCheckpointModelLoading } =
|
||||
const { filteredCheckpointModels, isLoadingCheckpointModels } =
|
||||
useGetMainModelsQuery(ALL_BASE_MODELS, {
|
||||
selectFromResult: ({ data, isLoading }) => ({
|
||||
filteredCheckpointModels: modelsFilter(
|
||||
@ -57,7 +57,7 @@ const ModelList = (props: ModelListProps) => {
|
||||
'checkpoint',
|
||||
nameFilter
|
||||
),
|
||||
isCheckpointModelLoading: isLoading,
|
||||
isLoadingCheckpointModels: isLoading,
|
||||
}),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user