mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-21 04:53:02 +03:00
Fix bugs
This commit is contained in:
@@ -67,7 +67,15 @@ export default function ModelSelectionView({
|
||||
}
|
||||
|
||||
if (classificationConfigs.length == 0) {
|
||||
return <NoModelsView onCreateModel={() => setNewModel(true)} />;
|
||||
return (
|
||||
<>
|
||||
<ClassificationModelWizardDialog
|
||||
open={newModel}
|
||||
onClose={() => setNewModel(false)}
|
||||
/>
|
||||
<NoModelsView onCreateModel={() => setNewModel(true)} />;
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user