make API token config field required
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -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,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user