Commit 4681338
fix(editor): restore TWEET extension data when editing an echo
The edit-mode populate switch in TheEditor.vue handled MUSIC/VIDEO/
GITHUBPROJ/WEBSITE/LOCATION but was missing a TWEET case, so tweetToAdd
(url/username/statusId) was never restored. On submit, handleTweetExtension
re-parsed an empty url, failed, and dropped the extension — making a
tweet-only echo fail the empty check with "echo cannot be empty".
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 863e11f commit 4681338
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
0 commit comments