Some cleanup after the merge

This commit is contained in:
Brandon Rising 2023-07-31 11:23:43 -04:00
parent 1bafbafdd3
commit f784e8412c
7 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
import{A as m,f$ as Je,z as y,a4 as Ka,g0 as Xa,af as va,aj as d,g1 as b,g2 as t,g3 as Ya,g4 as h,g5 as ua,g6 as Ja,g7 as Qa,aI as Za,g8 as et,ad as rt,g9 as at}from"./index-2952980e.js";import{s as fa,n as o,t as tt,o as ha,p as ot,q as ma,v as ga,w as ya,x as it,y as Sa,z as pa,A as xr,B as nt,D as lt,E as st,F as xa,G as $a,H as ka,J as dt,K as _a,L as ct,M as bt,N as vt,O as ut,Q as wa,R as ft,S as ht,T as mt,U as gt,V as yt,W as St,e as pt,X as xt}from"./MantineProvider-bf6f5981.js";var za=String.raw,Ca=za` import{A as m,f$ as Je,z as y,a4 as Ka,g0 as Xa,af as va,aj as d,g1 as b,g2 as t,g3 as Ya,g4 as h,g5 as ua,g6 as Ja,g7 as Qa,aI as Za,g8 as et,ad as rt,g9 as at}from"./index-18f2f740.js";import{s as fa,n as o,t as tt,o as ha,p as ot,q as ma,v as ga,w as ya,x as it,y as Sa,z as pa,A as xr,B as nt,D as lt,E as st,F as xa,G as $a,H as ka,J as dt,K as _a,L as ct,M as bt,N as vt,O as ut,Q as wa,R as ft,S as ht,T as mt,U as gt,V as yt,W as St,e as pt,X as xt}from"./MantineProvider-b20a2267.js";var za=String.raw,Ca=za`
:root, :root,
:host { :host {
--chakra-vh: 100vh; --chakra-vh: 100vh;

View File

@ -12,7 +12,7 @@
margin: 0; margin: 0;
} }
</style> </style>
<script type="module" crossorigin src="./assets/index-2952980e.js"></script> <script type="module" crossorigin src="./assets/index-18f2f740.js"></script>
</head> </head>
<body dir="ltr"> <body dir="ltr">

View File

@ -36,7 +36,8 @@ export const addModelsLoadedListener = () => {
action.payload.entities, action.payload.entities,
(m) => (m) =>
m?.model_name === currentModel?.model_name && m?.model_name === currentModel?.model_name &&
m?.base_model === currentModel?.base_model m?.base_model === currentModel?.base_model &&
m?.model_type === currentModel?.model_type
); );
if (isCurrentModelAvailable) { if (isCurrentModelAvailable) {
@ -83,7 +84,8 @@ export const addModelsLoadedListener = () => {
action.payload.entities, action.payload.entities,
(m) => (m) =>
m?.model_name === currentModel?.model_name && m?.model_name === currentModel?.model_name &&
m?.base_model === currentModel?.base_model m?.base_model === currentModel?.base_model &&
m?.model_type === currentModel?.model_type
); );
if (isCurrentModelAvailable) { if (isCurrentModelAvailable) {

View File

@ -47,9 +47,9 @@ export const addTabChangedListener = () => {
} }
// only store the model name and base model in redux // only store the model name and base model in redux
const { base_model, model_name } = firstValidCanvasModel; const { base_model, model_name, model_type } = firstValidCanvasModel;
dispatch(modelChanged({ base_model, model_name })); dispatch(modelChanged({ base_model, model_name, model_type }));
} }
}, },
}); });