mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): refresh starter models on model add/update/delete
This commit is contained in:
parent
c356cabe97
commit
fc63419c6e
@ -273,6 +273,7 @@ export const modelsApi = api.injectEndpoints({
|
||||
}),
|
||||
getStarterModels: build.query<GetStarterModelsResponse, void>({
|
||||
query: () => buildModelsUrl('starter_models'),
|
||||
providesTags: [{ type: 'ModelConfig', id: LIST_TAG }],
|
||||
}),
|
||||
getHFTokenStatus: build.query<GetHFTokenStatusResponse, void>({
|
||||
query: () => buildModelsUrl('hf_login'),
|
||||
|
Loading…
Reference in New Issue
Block a user