mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-07 23:39:09 +00:00
typos (#562)
quick fix for some typos/spelling Small way of saying thanks for the software
This commit is contained in:
@@ -132,7 +132,7 @@ export const MINIMAL_TIMER_OPTIONS: ParamField[] = [
|
|||||||
{
|
{
|
||||||
id: 'hideovertime',
|
id: 'hideovertime',
|
||||||
title: 'Hide Overtime',
|
title: 'Hide Overtime',
|
||||||
description: 'Whether to supress overtime styles (red borders and red text)',
|
description: 'Whether to suppress overtime styles (red borders and red text)',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export const getAliasRoute = (location: Location, data: Alias[], searchParams: U
|
|||||||
const aliasOnPage = searchParams.get('alias');
|
const aliasOnPage = searchParams.get('alias');
|
||||||
for (const d of data) {
|
for (const d of data) {
|
||||||
if (aliasOnPage) {
|
if (aliasOnPage) {
|
||||||
// if the alias fits the alias on this page, but the URL is diferent, we redirect user to the new URL
|
// if the alias fits the alias on this page, but the URL is different, we redirect user to the new URL
|
||||||
// if we have the same alias and its enabled and its not empty
|
// if we have the same alias and its enabled and its not empty
|
||||||
if (d.alias !== '' && d.enabled && d.alias === aliasOnPage) {
|
if (d.alias !== '' && d.enabled && d.alias === aliasOnPage) {
|
||||||
const newAliasPath = resolvePath(d.pathAndParams);
|
const newAliasPath = resolvePath(d.pathAndParams);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export default function MessageControl() {
|
|||||||
actionHandler={() => setMessage.presenterVisible(!data.timerMessage.visible)}
|
actionHandler={() => setMessage.presenterVisible(!data.timerMessage.visible)}
|
||||||
/>
|
/>
|
||||||
<div className={style.buttonSection}>
|
<div className={style.buttonSection}>
|
||||||
<label className={style.label}>Timer messsage blink</label>
|
<label className={style.label}>Timer message blink</label>
|
||||||
<label className={style.label}>Blackout timer screens</label>
|
<label className={style.label}>Blackout timer screens</label>
|
||||||
<Button
|
<Button
|
||||||
className={`${data.timerMessage.timerBlink ? style.blink : ''}`}
|
className={`${data.timerMessage.timerBlink ? style.blink : ''}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user