This commit is contained in:
2026-02-04 08:43:04 +08:00
parent b442dddf8f
commit 39e73f3b29
2 changed files with 2 additions and 1 deletions
@@ -133,7 +133,6 @@ fun PurchaseOrderScreen(
)
) {
if (first.value) {
viewModel.updateFirstState(false)
return@Box
}
if (products.isEmpty()) {
@@ -48,6 +48,7 @@ class PurchaseOrderViewModel @Inject constructor(
_supplierList.value = _supplierList.value + it
}
}
updateFirstState(false)
}
} else {
launchWithLoading {
@@ -57,6 +58,7 @@ class PurchaseOrderViewModel @Inject constructor(
_supplierList.value = it
}
}
updateFirstState(false)
}
}
}