Fixes #53! Just adds pronouns and website to the list of candidates for whether a profile is dirty. Pretty simple fix!
+5
-1
Diff
round #1
+5
-1
src/state/queries/profile.ts
+5
-1
src/state/queries/profile.ts
···
185
185
next.pronouns = updates.pronouns
186
186
}
187
187
if ('website' in updates) {
188
-
next.website = updates.website
188
+
if (updates['website'] && updates['website'].length !== 0) {
189
+
next.website = updates.website
190
+
} else {
191
+
next.website = undefined
192
+
}
189
193
}
190
194
}
191
195
if (newUserAvatarPromise) {
History
2 rounds
2 comments
lemmaeof.gay
submitted
#1
4 commits
expand
collapse
check for dirty pronouns and website when updating profile
check for dirty pronouns and website when updating profile
Signed-off-by: lemmaeof.gay <6722691+LemmaEOF@users.noreply.github.com>
allow submitting an empty website field
allow submitting an empty website field
Signed-off-by: lemmaeof.gay <drabber-tic.0s@icloud.com>
expand 0 comments
closed without merging
lemmaeof.gay
submitted
#0
1 commit
expand
collapse
check for dirty pronouns and website when updating profile
expand 2 comments
decades-old software term for data that has been edited in memory but not committed to a database yet, I don't know the full etymology
why is it called dirty