mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 00:52:17 +03:00
Tracked Object Details pane tweaks (#20849)
* use grid view on desktop * refactor description box to remove buttons and add row of action icon buttons * add tooltips * fix trigger creation when using the search effect to create a trigger, the prefilled object will not exist in the config yet * i18n * set max width on thumbnail
This commit is contained in:
@@ -159,7 +159,7 @@ export default function CreateTriggerDialog({
|
||||
});
|
||||
|
||||
const onSubmit = async (values: z.infer<typeof formSchema>) => {
|
||||
if (trigger) {
|
||||
if (trigger && existingTriggerNames.includes(trigger.name)) {
|
||||
onEdit({ ...values });
|
||||
} else {
|
||||
onCreate(
|
||||
|
||||
Reference in New Issue
Block a user