Commit c095f99
Allow saving elements without a URL (#33)
The URL field is optional, but canSave required a valid URL, so an
element with no URL could never be saved. Permit an empty URL while
still rejecting a non-empty invalid one.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ad41a4a commit c095f99
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments