mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
docs: simplify the reference and tighten the verifier (#2736)
This commit is contained in:
1 parent
6af33c7188
commit
7375ac9d80
111 files changed
+1616
-2430
No files matched your search
@@ -150,7 +150,7 @@ export const AddConnectionModal = observer(({defaultType}: AddConnectionModalPro
|
||||
if (type === ConnectionTypes.BLUESKY) {
|
||||
identifier = identifier.replace(/^https?:\/\/bsky\.app\/profile\//i, '').replace(/^@/, '');
|
||||
}
|
||||
if (UserConnection.hasConnectionByTypeAndName(type, identifier)) {
|
||||
if (type === ConnectionTypes.DOMAIN && UserConnection.hasConnectionByTypeAndName(type, identifier)) {
|
||||
initiateForm.setError('identifier', {
|
||||
type: 'validate',
|
||||
message: i18n._(YOU_ALREADY_HAVE_THIS_CONNECTION_DESCRIPTOR),
|
||||
|
||||
Reference in new issue
Block a user