fix edit of outward and plant name
This commit is contained in:
@@ -95,10 +95,11 @@ object Auth {
|
||||
database.save(Plant().apply {
|
||||
this.plantId = plantId
|
||||
this.plantName = response
|
||||
this.plantOriginalName = response
|
||||
})
|
||||
} else {
|
||||
existing.apply {
|
||||
this.plantName = response
|
||||
this.plantOriginalName = response
|
||||
this.save()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -289,6 +289,7 @@ open class Plant : BaseModel() {
|
||||
|
||||
var plantId: String = ""
|
||||
var plantName: String = ""
|
||||
var plantOriginalName: String? = ""
|
||||
|
||||
@DbJsonB
|
||||
var prefixes: MutableMap<String, String>? = mutableMapOf()
|
||||
|
||||
Reference in New Issue
Block a user