make API token config field required

This commit is contained in:
Peter Daniel
2023-07-02 21:06:57 +01:00
parent 853a97db81
commit f7e1d8726b
2 changed files with 6 additions and 0 deletions

View File

@@ -52,5 +52,9 @@ Add variables for timerId and timerDescription
### Version 2.0.0 ### Version 2.0.0
Updated for Companion version 3 Updated for Companion version 3
Updated for toggl API version 9 Updated for toggl API version 9
### Version 2.0.1
Make the API token config field required

View File

@@ -25,6 +25,7 @@ class toggltrack extends InstanceBase {
id: 'apiToken', id: 'apiToken',
label: 'Personal API Token from your Toggl user profile (required)', label: 'Personal API Token from your Toggl user profile (required)',
width: 12, width: 12,
required: true,
default: '', default: '',
}, },
{ {
@@ -32,6 +33,7 @@ class toggltrack extends InstanceBase {
id: 'alwaysStart', id: 'alwaysStart',
label: 'Always start a new timer even if there is one already running', label: 'Always start a new timer even if there is one already running',
width: 12, width: 12,
required: false,
default: false, default: false,
}, },
] ]