refac
This commit is contained in:
@@ -561,7 +561,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
const getFullModel = async (model) =>
|
||||
const getFullModel = async (model: any) =>
|
||||
workspaceModels.some((workspaceModel) => workspaceModel.id === model.id)
|
||||
? ((await getModelById(localStorage.token, model.id).catch(() => null)) ?? model)
|
||||
: model;
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
);
|
||||
};
|
||||
|
||||
const getFullModel = async (model) =>
|
||||
const getFullModel = async (model: any) =>
|
||||
(await getModelById(localStorage.token, model.id).catch(() => null)) ?? model;
|
||||
|
||||
const cloneModelHandler = async (model) => {
|
||||
|
||||
Reference in New Issue
Block a user