make mastodon url field not required
This commit is contained in:
parent
54e5cb32ed
commit
06e0f1fc3e
|
@ -15,7 +15,7 @@
|
||||||
type: 'prompt',
|
type: 'prompt',
|
||||||
// Data
|
// Data
|
||||||
title: 'Mastodon instance URL',
|
title: 'Mastodon instance URL',
|
||||||
valueAttr: { type: 'text', required: true, placeholder: 'https://mastodon.social' },
|
valueAttr: { type: 'text', placeholder: 'https://mastodon.social' },
|
||||||
// Returns the updated response value
|
// Returns the updated response value
|
||||||
response: (r: string) => {
|
response: (r: string) => {
|
||||||
// Strip everything but the host and tld
|
// Strip everything but the host and tld
|
||||||
|
|
Loading…
Reference in New Issue