mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 14:48:55 +03:30
Fix get test result inputs changes
This commit is contained in:
@@ -74,15 +74,12 @@ class _FormPageState extends State<FormPage> {
|
||||
_isLoading = true;
|
||||
});
|
||||
var providerObject = Provider.of<TestResultsProvider>(context);
|
||||
String testTypeName = Provider.of<TestResultsProvider>(context).testType;
|
||||
String testCode = Provider.of<TestResultsProvider>(context).testCode;
|
||||
String testTypeId = Provider.of<TestResultsProvider>(context).testTypeId;
|
||||
providerObject.catchImages.clear();
|
||||
Provider.of<Inputs>(context, listen: false)
|
||||
.getInputs(
|
||||
testResultId: '',
|
||||
name: testTypeName,
|
||||
uniqueCode: testCode,
|
||||
testTypeId: '',
|
||||
testTypeId: testTypeId,
|
||||
)
|
||||
.then((_) {
|
||||
setState(() {
|
||||
|
||||
Reference in New Issue
Block a user