accounts: standardise "text with edit button" component
The sort of thing used for the user's label and their email address is now implemented by ui.ts/HiddenInputField, and used by the two.
This commit is contained in:
+1
-1
@@ -962,7 +962,7 @@ func (app *appContext) ModifyLabels(gc *gin.Context) {
|
||||
emailStore = oldEmail
|
||||
}
|
||||
emailStore.Label = label
|
||||
app.debug.Println(lm.UserLabelAdjusted, id, label)
|
||||
app.debug.Printf(lm.UserLabelAdjusted, id, label)
|
||||
app.storage.SetEmailsKey(id, emailStore)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user