oclib
This commit is contained in:
@@ -27,8 +27,8 @@ class LogsWidgetState extends State<LogsWidget> {
|
||||
try { setState(() { });
|
||||
} catch (e) { /**/ }
|
||||
});
|
||||
return Container( height: getMainHeight(context) - 100,
|
||||
child: Center( child: CircularProgressIndicator()) );
|
||||
return SizedBox( height: getMainHeight(context) - 100,
|
||||
child: const Center( child: CircularProgressIndicator()) );
|
||||
}
|
||||
if (widget.exec == null) {
|
||||
return Container();
|
||||
@@ -53,11 +53,7 @@ class LogsWidgetState extends State<LogsWidget> {
|
||||
end = (DateTime.parse(widget.exec!.startDate!).add( const Duration(days: 14)).microsecondsSinceEpoch).toString();
|
||||
}
|
||||
} catch(e) { /* */ }
|
||||
Future.delayed(const Duration(minutes: 1), () {
|
||||
try { setState(() {});
|
||||
} catch (e) { /**/ }
|
||||
});
|
||||
return FutureBuilder(future: LogsService().search(context, [], {
|
||||
return FutureBuilder(future: LogsService().search(null, [], {
|
||||
"workflow_execution_id": widget.exec!.id,
|
||||
"start": start,
|
||||
"end": end
|
||||
|
||||
Reference in New Issue
Block a user