editing all fields works and app is actually functional with profile edits
This commit is contained in:
@@ -499,9 +499,9 @@ final class LabelScannerViewModel {
|
||||
|
||||
func loadProfile() async {
|
||||
if let profile = try? await profileClient.get() {
|
||||
piFirstName = profile.piFirstName
|
||||
bldgCode = profile.bldgCode
|
||||
lab = profile.lab
|
||||
piFirstName = profile.piFirstName ?? ""
|
||||
bldgCode = profile.bldgCode ?? ""
|
||||
lab = profile.lab ?? ""
|
||||
contact = profile.contact ?? ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user