fixed some database backend stuff
This commit is contained in:
parent
26b69a1cb6
commit
223f953648
8 changed files with 58 additions and 41 deletions
|
@ -240,6 +240,9 @@ const Models: React.FC = () => {
|
|||
console.log(model)
|
||||
console.log(category)
|
||||
console.log(modelList[category][model as keyof typeof modelList[typeof category]]);
|
||||
console.log(modelList[category]['model_type' as keyof typeof modelList[typeof category]])
|
||||
localStorage.setItem("model", modelList[category][model as keyof typeof modelList[typeof category]])
|
||||
localStorage.setItem("type", modelList[category]['model_type' as keyof typeof modelList[typeof category]])
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue