From bff2cf860a699c4920e4d7f1e1834451ce8b8790 Mon Sep 17 00:00:00 2001 From: John Cherry Date: Wed, 29 Jun 2022 14:02:16 +0100 Subject: [PATCH] Add Channel Check mode (#29) --- src/api/preset/presetRouter.ts | 1 - .../Controls/Presets/EditModal/Macro.tsx | 5 +- src/app/Navigation/ControlPanelNavigation.tsx | 1 - src/app/Pages/ControlPanel/ChannelCheck.tsx | 98 +++++++++++++++++++ src/app/router.tsx | 2 + 5 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 src/app/Pages/ControlPanel/ChannelCheck.tsx diff --git a/src/api/preset/presetRouter.ts b/src/api/preset/presetRouter.ts index cf164c9d..9c38703e 100644 --- a/src/api/preset/presetRouter.ts +++ b/src/api/preset/presetRouter.ts @@ -2,7 +2,6 @@ import { Preset } from './../../database/model/Preset' import { DatabasePreset, PresetRepository } from './../../database/repository/preset' import { createDatabaseObject, Database, sendDatabaseObject } from './../database' import axios from 'axios' -import { OSCFormValue } from '../../app/Components/Admin/Controls/Presets/EditModal/OSC' /** * This is a REST router for the preset API. * @param path - The path requested by the original route requestor diff --git a/src/app/Components/Admin/Controls/Presets/EditModal/Macro.tsx b/src/app/Components/Admin/Controls/Presets/EditModal/Macro.tsx index d1dc3164..ad98e1ac 100644 --- a/src/app/Components/Admin/Controls/Presets/EditModal/Macro.tsx +++ b/src/app/Components/Admin/Controls/Presets/EditModal/Macro.tsx @@ -68,7 +68,10 @@ export const MacroPresetEditModal = (props: GetInputProps<'input'>) => {