keithjgrant / omnibear

A Micropub browser extension
MIT License
36 stars 8 forks source link

When the replacement name for mp-syndicate-to (and mp-slug) are the default, these params aren't send #62

Closed pstuifzand closed 6 years ago

pstuifzand commented 6 years ago

If syndicateName equals "mp-syndicate-to" the delete on the next line will remove the only copy. And then it isn't send. Parameter "mp-slug" has the same problem.

https://github.com/keithjgrant/omnibear/blob/de0dca1ced31d8140eae09b3c0a5708d919a5eac/src/components/form/NoteForm.js#L233-L236

pstuifzand commented 6 years ago

When the syndicateName is replaced with something else, for example, the non default "slug" value, then the value will be send to the micropub endpoint.