style: wording and UI tweaks (#564)

* style: wording and UI tweaks

* style: prevent note overflow

* style: small wording changes

* soft blink (#569)

* chore: version bump


---------

Co-authored-by: Alex Christoffer Rasmussen <alex.christoffer@gmail.com>
This commit is contained in:
Carlos Valente
2023-11-07 21:27:33 +01:00
committed by GitHub
parent 138be478ca
commit 943dd19c09
10 changed files with 28 additions and 30 deletions
@@ -1,4 +1,4 @@
import { LogOrigin, OntimeEvent } from 'ontime-types';
import { OntimeEvent } from 'ontime-types';
import { messageService } from '../services/message-service/MessageService.js';
import { PlaybackService } from '../services/PlaybackService.js';
@@ -256,10 +256,10 @@ export function dispatchFromAdapter(
// ontime/change/{eventID}/{propertyName}
case 'change': {
if (params.length < 2) {
throw new Error(`To few parameters`);
throw new Error('Too few parameters, 3 expected');
}
if (payload === undefined) {
throw new Error(`Undefined payload`);
throw new Error('No payload found');
}
const eventID = params[0];
const propertyName = params[1] as keyof OntimeEvent;