Fix for system logs viewer for failed emails
This commit is contained in:
parent
7b6070af8e
commit
9d238ba4dd
|
|
@ -90,13 +90,18 @@ class _SystemLogViewerState extends State<SystemLogViewer> {
|
||||||
},
|
},
|
||||||
isExpanded: _isExpanded[systemLog.id] == true,
|
isExpanded: _isExpanded[systemLog.id] == true,
|
||||||
body: _isExpanded[systemLog.id] == true
|
body: _isExpanded[systemLog.id] == true
|
||||||
? Container(
|
? logs == null
|
||||||
color: Colors.white,
|
? Padding(
|
||||||
child: Padding(
|
child: Text(systemLog.log),
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
padding: EdgeInsets.symmetric(
|
||||||
child: JsonViewer(logs ?? <String, dynamic>{}),
|
horizontal: 16, vertical: 10))
|
||||||
),
|
: Container(
|
||||||
)
|
color: Colors.white,
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||||
|
child: JsonViewer(logs),
|
||||||
|
),
|
||||||
|
)
|
||||||
: SizedBox(),
|
: SizedBox(),
|
||||||
);
|
);
|
||||||
}).toList(),
|
}).toList(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue